]> git.hungrycats.org Git - linux/commit
[IA64] discontig.c: fixup pxm_to_nid_map
authorAlex Williamson <alex.williamson@hp.com>
Thu, 9 Sep 2004 22:14:48 +0000 (22:14 +0000)
committerTony Luck <tony.luck@intel.com>
Thu, 9 Sep 2004 22:14:48 +0000 (22:14 +0000)
commit85d605d9b88ae3f965b18493f041d33988f39798
tree299328aa49c021c20e134647ae3c99348139e116
parent65fd90f1492898e695a33ce4b164e02f157246e3
[IA64] discontig.c: fixup pxm_to_nid_map

I'd like to be able to use pxm_to_nid_map in several places to
discover proximity domain to node id associations.  Unfortunately, after
reassign_cpu_only_nodes() plays with the node space, the pxm_to_nid_map
doesn't necessarily reflect reality.  This fixes up the table so it's
still valid.  Note that nid_to_pxm_map is still potentially broken, but
has a one-to-many problem if the above function combines several
proximity domains into a single node.  Thanks to Bob Picco for the base
patch.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/discontig.c