[PATCH] cpusets: only wakeup kswapd for zones in the current cpuset
authorChristoph Lameter <clameter@engr.sgi.com>
Fri, 24 Mar 2006 11:15:59 +0000 (03:15 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:22 +0000 (07:33 -0800)
commit0b1303fcf23678ee1785841fb0c770a35cd0833c
tree78b90c2766f8468b39363bd4525ebaa9b192aa8f
parent95c3832272fc77ea3e31f6382f82ba17be985cc7
[PATCH] cpusets: only wakeup kswapd for zones in the current cpuset

If we get under some memory pressure in a cpuset (we only scan zones that
are in the cpuset for memory) then kswapd is woken up for all zones.  This
patch only wakes up kswapd in zones that are part of the current cpuset.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c