]> git.baikalelectronics.ru Git - kernel.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)
commit3563badf9609955d7b50deb7796852428b49ab17
tree00438344c0ad599c1301db2abe32a4c2ee89b607
parent75ef3928cd860c8c43f4bfcd35bf8e517c901157
[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