]> git.baikalelectronics.ru Git - kernel.git/commit
mm/page_alloc: add informative debugging message in page_outside_zone_boundaries()
authorCody P Schafer <cody@linux.vnet.ibm.com>
Sat, 23 Feb 2013 00:35:28 +0000 (16:35 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 24 Feb 2013 01:50:20 +0000 (17:50 -0800)
commitf7837b5329e1a1297e5d20da124f16437e8f3738
treef40b4d3579fde06debac5fd36fa7355c89143cb3
parent177f94b22b6e0b8c861ac7c53a3c1e42b085cf0b
mm/page_alloc: add informative debugging message in page_outside_zone_boundaries()

Add a debug message which prints when a page is found outside of the
boundaries of the zone it should belong to. Format is:
"page $pfn outside zone [ $start_pfn - $end_pfn ]"

[akpm@linux-foundation.org: s/pr_debug/pr_err/]
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>
mm/page_alloc.c