Re: [PATCH 1/4] mm: vmscan: Correct use of pgdat_balanced in sleeping_prematurely

From: Rik van Riel
Date: Mon May 16 2011 - 10:31:30 EST


On 05/13/2011 10:03 AM, Mel Gorman wrote:
Johannes Weiner poined out that the logic in commit [1741c877: mm:
kswapd: keep kswapd awake for high-order allocations until a percentage
of the node is balanced] is backwards. Instead of allowing kswapd to go
to sleep when balancing for high order allocations, it keeps it kswapd
running uselessly.

From-but-was-not-signed-off-by: Johannes Weiner<hannes@xxxxxxxxxxx>
Will-sign-off-after-Johannes: Mel Gorman<mgorman@xxxxxxx>

Reviewed-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/