]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86, numa, 32-bit: increase max_elements to 1024
authorYinghai Lu <yhlu.kernel@gmail.com>
Sun, 1 Jun 2008 05:51:51 +0000 (22:51 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 3 Jun 2008 11:26:24 +0000 (13:26 +0200)
commitba924c81dd5a7a7fb5ded025af7fdd3b61f8ca67
treea451d273a87c813782bbe1cb171af0c1d9b7d4d9
parent4c1cbafb88490757a38119c41229251369bcecbc
x86, numa, 32-bit: increase max_elements to 1024

so every element will represent 64M instead of 256M.

AMD opteron could have HW memory hole remapping, so could have
[0, 8g + 64M) on node0. Reduce element size to 64M to keep that on node 0

Later we need to use find_e820_area() to allocate memory_node_map like
on 64-bit. But need to move memory_present out of populate_mem_map...

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/discontig_32.c
include/asm-x86/mmzone_32.h