diff options
author | Shaohua Li <shaohua.li@intel.com> | 2009-05-12 16:40:00 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-12 11:26:35 +0200 |
commit | ed077b58f6146684069975122b1728a9d248a501 (patch) | |
tree | c367da4e2c2b5a30c31d4fc3a9531f56fcd53828 /fs/btrfs/disk-io.c | |
parent | bf78ad69cd351798b9447a269c6bd41ce1f111f4 (diff) |
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 <shaohua.li@intel.com>
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
LKML-Reference: <1242117600.22431.0.camel@sli10-desk.sh.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions