diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2013-02-23 01:35:30 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-24 02:50:21 +0100 |
commit | f6bbb78e5bcbe45cfb8ed0d7ecd1549f4eb46a30 (patch) | |
tree | 5e98028f9df9eeb0ffe110ce61a98f97d2232d90 /mm/maccess.c | |
parent | mm/page_alloc: add informative debugging message in page_outside_zone_boundar... (diff) | |
download | linux-f6bbb78e5bcbe45cfb8ed0d7ecd1549f4eb46a30.tar.xz linux-f6bbb78e5bcbe45cfb8ed0d7ecd1549f4eb46a30.zip |
mm: add helper ensure_zone_is_initialized()
ensure_zone_is_initialized() checks if a zone is in a empty & not
initialized state (typically occuring after it is created in memory
hotplugging), and, if so, calls init_currently_empty_zone() to
initialize the zone.
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Cc: David Hansen <dave@linux.vnet.ibm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions