]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: RE-enable Virtual Processor Home Node updating
authorJesse Larrew <jlarrew@linux.vnet.ibm.com>
Wed, 24 Apr 2013 06:05:22 +0000 (06:05 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Apr 2013 06:08:25 +0000 (16:08 +1000)
commitadae8d46780c9e9b0d38124921b1844506f5c18c
tree96f39d5fb3b839c949b02558fd468c32e2bcee48
parentaf2d83c2e9f8d1cad400ed2a8a2e2cbf9e0b24a9
powerpc/pseries: RE-enable Virtual Processor Home Node updating

The new PRRN firmware feature provides a more convenient and event-driven
interface than VPHN for notifying Linux of changes to the NUMA affinity of
platform resources. However, for practical reasons, it may not be feasible
for some customers to update to the latest firmware. For these customers,
the VPHN feature supported on previous firmware versions may still be the
best option.

The VPHN feature was previously disabled due to races with the load
balancing code when accessing the NUMA cpu maps, but the new stop_machine()
approach protects the NUMA cpu maps from these concurrent accesses. It
should be safe to re-enable this feature now.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c