Skip to content

Commit

Permalink
[IA64] memory-less-nodes repost
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bob.picco authored and Tony Luck committed Jul 6, 2005
1 parent af25e94 commit 564601a
Show file tree
Hide file tree
Showing 2 changed files with 169 additions and 228 deletions.
Loading

0 comments on commit 564601a

Please sign in to comment.