[PATCH v04 9/9] hotplug/pmt: Update topology after PMT
Michael Bringmann
mwb at linux.vnet.ibm.com
Thu Jun 21 10:30:18 AEST 2018
hotplug/pmt: Call rebuild_sched_domains after applying changes
to update CPU associativity i.e. 'readd' CPUs. This is to
ensure that the deferred calls to arch_update_cpu_topology are
now reflected in the system data structures.
Signed-off-by: Michael Bringmann <mwb at linux.vnet.ibm.com>
---
arch/powerpc/platforms/pseries/dlpar.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/platforms/pseries/dlpar.c b/arch/powerpc/platforms/pseries/dlpar.c
index 4b43fec..9c68032 100644
--- a/arch/powerpc/platforms/pseries/dlpar.c
+++ b/arch/powerpc/platforms/pseries/dlpar.c
@@ -449,6 +449,9 @@ static int dlpar_pmt(struct pseries_hp_errorlog *work)
kfree(tmp);
}
+ ssleep(5);
+ rebuild_sched_domains();
+
return 0;
}
More information about the Linuxppc-dev
mailing list