diff options
author | Mike Travis <travis@sgi.com> | 2008-01-30 07:33:14 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:14 -0500 |
commit | 693e3c560317577a29c625d89f6745d5c7cfd918 (patch) | |
tree | 2f8420f929e8cdb8167a57104b7938658cdd3a8f /arch/x86/mm/srat_64.c | |
parent | 4dbf7af6442a9a882855bed0d999659ac413e3ac (diff) |
x86: reduce memory and intra-node effects
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/mm/srat_64.c')
-rw-r--r-- | arch/x86/mm/srat_64.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/mm/srat_64.c b/arch/x86/mm/srat_64.c index bccbdc7be434..e5a1ec8342dc 100644 --- a/arch/x86/mm/srat_64.c +++ b/arch/x86/mm/srat_64.c | |||
@@ -346,8 +346,12 @@ int __init acpi_scan_nodes(unsigned long start, unsigned long end) | |||
346 | /* First clean up the node list */ | 346 | /* First clean up the node list */ |
347 | for (i = 0; i < MAX_NUMNODES; i++) { | 347 | for (i = 0; i < MAX_NUMNODES; i++) { |
348 | cutoff_node(i, start, end); | 348 | cutoff_node(i, start, end); |
349 | /* ZZZ why was this needed. At least add a comment */ | 349 | /* |
350 | if (nodes[i].end && (nodes[i].end - nodes[i].start) < NODE_MIN_SIZE) { | 350 | * don't confuse VM with a node that doesn't have the |
351 | * minimum memory. | ||
352 | */ | ||
353 | if (nodes[i].end && | ||
354 | (nodes[i].end - nodes[i].start) < NODE_MIN_SIZE) { | ||
351 | unparse_node(i); | 355 | unparse_node(i); |
352 | node_set_offline(i); | 356 | node_set_offline(i); |
353 | } | 357 | } |