Re: [PATCH] mm: Check if any page in a pageblock is reserved beforemarking it MIGRATE_RESERVE
From: Mel Gorman
Date: Tue Apr 26 2011 - 03:34:32 EST
On Thu, Apr 21, 2011 at 06:34:03PM -0700, John Stultz wrote:
> From: Arve Hjønnevåg <arve@xxxxxxxxxxx>
>
> This fixes a problem where the first pageblock got marked MIGRATE_RESERVE even
> though it only had a few free pages. This in turn caused no contiguous memory
> to be reserved and frequent kswapd wakeups that emptied the caches to get more
> contiguous memory.
>
> CC: Dave Hansen <dave@xxxxxxxxxxxxxxxxxx>
> CC: Mel Gorman <mgorman@xxxxxxx>
> CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Arve Hjønnevåg <arve@xxxxxxxxxxx>
> Acked-by: Mel Gorman <mel@xxxxxxxxx>
>
> [This patch was submitted and acked a little over a year ago
> (see: http://lkml.org/lkml/2010/4/6/172 ), but never seemingly
> made it upstream. Resending for comments. -jstultz]
>
> Signed-off-by: John Stultz <john.stultz@xxxxxxxxxx>
Whoops, should have spotted it slipped through. FWIW, I'm still happy
with my Ack being stuck onto it.
Thanks.
--
Mel Gorman
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/