Christian Krafft 7c309a64d6 [PATCH] enable booting a NUMA system where some nodes have no memory
When booting a NUMA system with nodes that have no memory (eg by limiting
memory), bootmem_alloc_core tried to find pages in an uninitialized
bootmem_map.  This caused a null pointer access.  This fix adds a check, so
that NULL is returned.  That will enable the caller (bootmem_alloc_nopanic)
to alloc memory on other without a panic.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: Martin Bligh <mbligh@google.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:22 -08:00
..
2006-12-07 08:39:21 -08:00
2006-09-26 08:48:44 -07:00
2006-12-07 08:39:21 -08:00
2006-12-07 08:39:22 -08:00
2006-09-26 08:48:45 -07:00
2006-12-07 08:39:20 -08:00
2006-09-26 08:48:58 -07:00
2005-04-16 15:20:36 -07:00
2006-11-03 12:27:56 -08:00
2006-12-07 08:39:22 -08:00
2006-12-07 08:39:20 -08:00
2006-11-22 14:57:56 +00:00
2006-12-07 08:39:21 -08:00