x86: put initial_pg_tables into .bss
commit2bd2753ff46346543ab92e80df9d96366e21baa5
authorYinghai Lu <yinghai@kernel.org>
Mon, 9 Mar 2009 08:15:57 +0000 (9 01:15 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 15 Mar 2009 00:23:47 +0000 (14 17:23 -0700)
tree4a83c0b4012abe33a95715d9890bf07f81a3d547
parent796216a57fe45c04adc35bda1f0782efec78a713
x86: put initial_pg_tables into .bss

Impact: makes vmlinux section information more useful

Don't use ram after _end blindly for pagetables. aka init pages is before _end
put those pg table into .bss

[Adapted to use brk segment - Jeremy]

v2: keep initial page table up to 512M only.
v4: put initial page tables just before _end

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/head_32.S
arch/x86/kernel/vmlinux_32.lds.S