In a computer system that includes multiple nodes and multiple logical
partitions, a dynamic partition manager computes current memory affinity
and potential memory affinity at the request of a logical partition to
help the logical partition determine whether a reallocation of resources
between nodes may improve memory affinity for the logical partition. If
so, the logical partition requests reallocation of resources by the
dynamic partition manager so memory affinity for the logical partition is
improved.