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)
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>

No differences found