Re: [PATCH 3/4] mm: vmscan: Evaluate the watermarks against the correctclasszone

From: Rik van Riel
Date: Sat Jun 25 2011 - 17:42:29 EST


On 06/24/2011 10:44 AM, Mel Gorman wrote:
When deciding if kswapd is sleeping prematurely, the classzone is
taken into account but this is different to what balance_pgdat() and
the allocator are doing. Specifically, the DMA zone will be checked
based on the classzone used when waking kswapd which could be for a
GFP_KERNEL or GFP_HIGHMEM request. The lowmem reserve limit kicks in,
the watermark is not met and kswapd thinks its sleeping prematurely
keeping kswapd awake in error.

Reported-and-tested-by: PÃdraig Brady<P@xxxxxxxxxxxxxx>
Signed-off-by: Mel Gorman<mgorman@xxxxxxx>

Acked-by: Rik van Riel <riel@xxxxxxxxxx>

--
All rights reversed
--
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/