linux/arch/ppc64
David Gibson 533f08172e [PATCH] ppc64: dynamically allocate segment tables
PPC64 machines before Power4 need a segment table page allocated for each
CPU.  Currently these are allocated statically in a big array in head.S for
all CPUs.  The segment tables need to be in the first segment (so
do_stab_bolted doesn't take a recursive fault on the stab itself), but
other than that there are no constraints which require the stabs for the
secondary CPUs to be statically allocated.

This patch allocates segment tables dynamically during boot, using
lmb_alloc() to ensure they are within the first 256M segment.  This reduces
the kernel image size by 192k...

Tested on RS64 iSeries, POWER3 pSeries, and POWER5.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-27 16:25:58 -07:00
..
boot [PATCH] remove duplicate printf in arch/ppc64/boot/main.c 2005-06-28 21:01:46 +10:00
configs [PATCH] ppc64: update defconfigs 2005-07-27 16:25:57 -07:00
kernel [PATCH] ppc64: dynamically allocate segment tables 2005-07-27 16:25:58 -07:00
lib [PATCH] ppc64 iSeries: allow build with no PCI 2005-06-21 18:46:31 -07:00
mm [PATCH] ppc64: dynamically allocate segment tables 2005-07-27 16:25:58 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xmon [PATCH] ppc32: Kill embedded system.map, use kallsyms 2005-06-21 18:46:26 -07:00
defconfig [PATCH] ppc64: update defconfigs 2005-07-27 16:25:57 -07:00
Kconfig [PATCH] ppc/ppc64: use Kconfig.hz 2005-07-27 16:25:55 -07:00
Kconfig.debug [PATCH] ppc64: add missing Kconfig help text 2005-05-05 16:36:32 -07:00
Makefile [PATCH] ppc64: add BPA platform type 2005-06-23 09:43:37 +10:00