[PATCH] mm: do not check unpopulated zones for draining and counter updates
authorChristoph Lameter <clameter@sgi.com>
Tue, 26 Sep 2006 06:31:49 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:51 +0000 (08:48 -0700)
commit39bbcb8f88154c4ac9853baf3f1134af4c987517
tree79f9867ead896c28d138545089e6d85db426c09f
parent006d22d9bbb7e66279ba5cc4556b54eeaf8fd556
[PATCH] mm: do not check unpopulated zones for draining and counter updates

If a zone is unpopulated then we do not need to check for pages that are to
be drained and also not for vm counters that may need to be updated.

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