https://github.com/torvalds/linux
Revision 7eccf7b227b6d3b1745b937ce35efc9c27f9b0e5 authored by David Rientjes on 05 May 2009, 19:50:02 UTC, committed by Ingo Molnar on 06 May 2009, 08:49:07 UTC
The mem= option will truncate the memory map at a specified address so
it's not possible to register nodes with memory beyond the e820 upper
bound.

unparse_node() is only called when then node had memory associated with
it, although with the mem= option it is no longer addressable.

[ Impact: fix boot hang on certain (large) systems ]

Reported-by: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Jack Steiner <steiner@sgi.com>
LKML-Reference: <alpine.DEB.2.00.0905051248150.20021@chino.kir.corp.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 413f81e
History
Tip revision: 7eccf7b227b6d3b1745b937ce35efc9c27f9b0e5 authored by David Rientjes on 05 May 2009, 19:50:02 UTC
x86, srat: do not register nodes beyond e820 map
Tip revision: 7eccf7b
File Mode Size
Makefile -rw-r--r-- 384 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.0 KB
ipc_sysctl.c -rw-r--r-- 6.9 KB
ipcns_notifier.c -rw-r--r-- 2.2 KB
mq_sysctl.c -rw-r--r-- 2.8 KB
mqueue.c -rw-r--r-- 30.6 KB
msg.c -rw-r--r-- 20.8 KB
msgutil.c -rw-r--r-- 2.8 KB
namespace.c -rw-r--r-- 3.4 KB
sem.c -rw-r--r-- 33.9 KB
shm.c -rw-r--r-- 25.7 KB
util.c -rw-r--r-- 22.9 KB
util.h -rw-r--r-- 5.1 KB

back to top