[PATCH] mm: add populated_zone() helper
authorCon Kolivas <kernel@kolivas.org>
Fri, 6 Jan 2006 08:11:15 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:28 +0000 (08:33 -0800)
commitf3fe65122da05e1cd4c9140340d96ea2f95d0c49
tree65f2bcdb0a9665123b5083d3aea7dae483593cbc
parent80bfed904c690642db9d4178950735299160950b
[PATCH] mm: add populated_zone() helper

There are numerous places we check whether a zone is populated or not.

Provide a helper function to check for populated zones and convert all
checks for zone->present_pages.

Signed-off-by: Con Kolivas <kernel@kolivas.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mmzone.h
mm/page_alloc.c
mm/vmscan.c