]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IA64] Minimize per_cpu reservations.
authorholt@sgi.com <holt@sgi.com>
Thu, 3 Apr 2008 20:17:13 +0000 (15:17 -0500)
committerTony Luck <tony.luck@intel.com>
Tue, 8 Apr 2008 20:51:35 +0000 (13:51 -0700)
commit2c6e6db41f01b6b4eb98809350827c9678996698
tree00438344c0ad599c1301db2abe32a4c2ee89b607
parent41bd26d67c41e325c6b9e56aadfe9dad8af9a565
[IA64] Minimize per_cpu reservations.

This attached patch significantly shrinks boot memory allocation on ia64.
It does this by not allocating per_cpu areas for cpus that can never
exist.

In the case where acpi does not have any numa node description of the
cpus, I defaulted to assigning the first 32 round-robin on the known
nodes..  For the !CONFIG_ACPI  I used for_each_possible_cpu().

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/acpi.c
arch/ia64/kernel/numa.c
arch/ia64/kernel/setup.c
arch/ia64/mm/discontig.c
arch/ia64/mm/numa.c
include/asm-ia64/acpi.h
include/asm-ia64/numa.h