x86, numa, 32-bit: make sure get we kva space
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 4 Jun 2008 02:32:30 +0000 (19:32 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 4 Jun 2008 10:01:55 +0000 (12:01 +0200)
commit84b56fa46b36c2df508e7d421feab514fad30f81
tree818334f7f9af6c6354a37d5a13b12ac754a1c63f
parentab530e1f781da4d704892daab2bdd568f473687d
x86, numa, 32-bit: make sure get we kva space

when 1/3 user/kernel split is used, and less memory is installed, or if
we have a big hole below 4g, max_low_pfn is still using 3g-128m

try to go down from max_low_pfn until we get it. otherwise will panic.

need to make 32-bit code to use register_e820_active_regions ... later.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/discontig_32.c
This page took 0.024199 seconds and 5 git commands to generate.