[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FD54959.6060500@kernel.org>
Date: Mon, 11 Jun 2012 10:26:49 +0900
From: Minchan Kim <minchan@...nel.org>
To: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
CC: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Hugh Dickins <hughd@...gle.com>,
KOSAKI Motohiro <kosaki.motohiro@...il.com>,
Dave Jones <davej@...hat.com>, Cong Wang <amwang@...hat.com>,
Markus Trippelsdorf <markus@...ppelsdorf.de>,
Mel Gorman <mgorman@...e.de>, Rik van Riel <riel@...hat.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Kyungmin Park <kyungmin.park@...sung.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH v10] mm: compaction: handle incorrect MIGRATE_UNMOVABLE
type pageblocks
Hi Bartlomiej,
On 06/08/2012 05:46 PM, Bartlomiej Zolnierkiewicz wrote:
>
> Hi,
>
> This version is much simpler as it just uses __count_immobile_pages()
> instead of using its own open coded version and it integrates changes
That's a good idea. I don't have noticed that function is there.
When I look at the function, it has a problem, too.
Please, look at this.
https://lkml.org/lkml/2012/6/10/180
If reviewer is okay that patch, I would like to resend your patch based on that.
> from Minchan Kim (without page_count change as it doesn't seem correct
Why do you think so?
If it isn't correct, how can you prevent racing with THP page freeing?
> and __count_immobile_pages() does the check in the standard way; if it
> still is a problem I think that removing 1st phase check altogether
> would be better instead of adding more locking complexity).
>
> The patch also adds compact_rescued_unmovable_blocks vmevent to vmstats
> to make it possible to easily check if the code is working in practice.
I think that part should be another patch.
1. Adding new vmstat would be arguable so it might interrupt this patch merging.
2. New vmstat adding is just for this patch is effective or not in real practice
so if we prove it in future, let's revert the vmstat. Separating it would make it
easily.
--
Kind regards,
Minchan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists