Files
ubports_kernel_google_msm/include/linux
David Rientjes f6d7e0cb3e mm, debug: test for online nid when allocating on single node
Calling alloc_pages_exact_node() means the allocation only passes the
zonelist of a single node into the page allocator.  If that node isn't
online, it's zonelist may never have been initialized causing a strange
oops that may not immediately be clear.

I recently debugged an issue where node 0 wasn't online and an allocator
was passing 0 to alloc_pages_exact_node() and it resulted in a NULL
pointer on zonelist->_zoneref.  If CONFIG_DEBUG_VM is enabled, though, it
would be nice to catch this a bit earlier.

Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-10 16:30:43 -08:00
..
2011-12-11 18:25:16 -05:00
2011-11-07 09:11:16 -08:00
2011-12-13 15:30:49 -05:00
2012-01-04 15:52:42 -08:00
2012-01-03 22:55:17 -05:00
2011-11-16 09:21:50 +01:00
2012-01-10 16:30:42 -08:00
2012-01-03 22:54:57 -05:00
2012-01-09 19:23:45 -05:00
2011-11-07 23:54:53 +01:00
2011-11-26 14:59:39 -05:00
2011-12-11 18:25:16 -05:00
2012-01-03 22:54:58 -05:00
2012-01-03 22:54:56 -05:00
2011-11-16 18:16:38 -05:00
2011-11-13 16:10:10 -05:00
2012-01-03 22:55:17 -05:00
2011-12-11 18:25:16 -05:00
2012-01-09 13:52:09 +01:00
2012-01-10 16:30:42 -08:00
2011-12-14 11:19:07 -08:00
2012-01-03 22:55:15 -05:00
2011-12-08 10:22:09 -08:00
2011-11-14 00:47:54 -05:00
2012-01-10 16:30:41 -08:00
2012-01-05 14:01:21 -05:00
2012-01-03 22:54:56 -05:00
2012-01-03 22:55:07 -05:00
2012-01-03 22:54:56 -05:00
2012-01-03 22:52:40 -05:00
2011-11-29 11:59:50 +00:00
2012-01-03 22:54:56 -05:00