summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorCody P Schafer <cody@linux.vnet.ibm.com>2013-02-23 01:35:25 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-24 02:50:20 +0100
commitd29bb9782d22063892e28716cdb76a87d2876ddb (patch)
tree48c533b522cf65528c14ecfd2e7de7760badb192 /usr
parentmm: add zone_is_empty() and zone_is_initialized() (diff)
downloadlinux-d29bb9782d22063892e28716cdb76a87d2876ddb.tar.xz
linux-d29bb9782d22063892e28716cdb76a87d2876ddb.zip
mm/page_alloc: add a VM_BUG in __free_one_page() if the zone is uninitialized.
Freeing pages to uninitialized zones is not handled by __free_one_page(), and should never happen when the code is correct. Ran into this while writing some code that dynamically onlines extra zones. 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 'usr')
0 files changed, 0 insertions, 0 deletions