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

From: Minchan Kim
Date: Mon May 23 2011 - 11:46:50 EST


On Mon, May 23, 2011 at 6:53 PM, Mel Gorman <mgorman@xxxxxxx> wrote:
> From: Johannes Weiner <hannes@xxxxxxxxxxx>
>
> 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.
>
> Signed-off-by: Mel Gorman <mgorman@xxxxxxx>
> Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>
Reviewed-by: Minchan Kim <minchan.kim@xxxxxxxxx>


--
Kind regards,
Minchan Kim
--
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/