From: Shaohua Li Date: Tue, 12 May 2009 08:40:00 +0000 (+0800) Subject: x86: make sparse mem work in non-NUMA mode X-Git-Tag: v2.6.31-rc1~414^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed077b58f6146684069975122b1728a9d248a501;p=pandora-kernel.git x86: make sparse mem work in non-NUMA mode With sparse memory, holes should not be marked present for memmap. This patch makes sure sparsemem really works on SMP mode (!NUMA). [ Impact: use less memory to map fragmented RAM, avoid boot-OOM/crash ] Signed-off-by: Shaohua Li Signed-off-by: Sheng Yang LKML-Reference: <1242117600.22431.0.camel@sli10-desk.sh.intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed