Messages in this thread | | | Date | Tue, 17 May 2011 13:26:21 +0800 | From | Wu Fengguang <> | Subject | Re: [PATCH 1/2] mm: vmscan: Correct use of pgdat_balanced in sleeping_prematurely |
| |
On Mon, May 16, 2011 at 05:26:08PM +0200, Johannes Weiner wrote: > On Mon, May 16, 2011 at 04:06:56PM +0100, Mel Gorman wrote: > > From: Johannes Weiner <hannes@cmpxchg.org> > > > > 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@suse.de> > > Reviewed-by: Rik van Riel <riel@redhat.com> > > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Wu Fengguang <fengguang.wu@intel.com>
| |