aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNathan Lynch <[email protected]>2019-04-18 18:56:57 +0000
committerMichael Ellerman <[email protected]>2019-04-20 12:03:57 +0000
commit2d4d9b308f8f8dec68f6dbbff18c68ec7c6bd26f (patch)
treeedf44b1690bfcf30ea0284ca38fe35862e9afb84 /arch/powerpc/lib/code-patching.c
parentpowerpc/powernv: Squash sparse warnings in opal-call.c (diff)
downloadkernel-2d4d9b308f8f8dec68f6dbbff18c68ec7c6bd26f.tar.gz
kernel-2d4d9b308f8f8dec68f6dbbff18c68ec7c6bd26f.zip
powerpc/numa: improve control of topology updates
When booted with "topology_updates=no", or when "off" is written to /proc/powerpc/topology_updates, NUMA reassignments are inhibited for PRRN and VPHN events. However, migration and suspend unconditionally re-enable reassignments via start_topology_update(). This is incoherent. Check the topology_updates_enabled flag in start/stop_topology_update() so that callers of those APIs need not be aware of whether reassignments are enabled. This allows the administrative decision on reassignments to remain in force across migrations and suspensions. Signed-off-by: Nathan Lynch <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions