[IA64] memory-less-nodes repost
authorbob.picco <bob.picco@hp.com>
Thu, 30 Jun 2005 16:52:00 +0000 (09:52 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 6 Jul 2005 22:45:30 +0000 (15:45 -0700)
commit564601a5d12f93fdde04c6bc5b097b95e7752a46
tree7ecd89b4eea6c626eb0726a5f7cf16e6e0f93b6e
parentaf25e94d4dcfb9608846242fabdd4e6014e5c9f0
[IA64] memory-less-nodes repost

I reworked how nodes with only CPUs are treated.  The patch below seems
simpler to me and has eliminated the complicated routine
reassign_cpu_only_nodes.  There isn't any longer the requirement
to modify ACPI NUMA information which was in large part the
complexity introduced in reassign_cpu_only_nodes.

This patch will produce a different number of nodes. For example,
reassign_cpu_only_nodes would reduce two CPUonly nodes and one memory node
configuration to one memory+CPUs node configuration.  This patch
doesn't change the number of nodes which means the user will see three.  Two
nodes without memory and one node with all the memory.

While doing this patch, I noticed that early_nr_phys_cpus_node isn't serving
any useful purpose.  It is called once in find_pernode_space but the value
isn't used to computer pernode space.

Signed-off-by: bob.picco <bob.picco@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/discontig.c
arch/ia64/mm/init.c