diff options
author | Fenghua Yu <[email protected]> | 2016-11-11 17:02:38 -0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-11-15 18:35:50 +0100 |
commit | f410770293a1fbc08906474c24104a7a11943eb6 (patch) | |
tree | db1ec8f60afcbf6a603bc21b4ceeae47c25194b0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c7cc0cc10cdecc275211c8749defba6c41aaf5de (diff) |
x86/intel_rdt: Update percpu closid immeditately on CPUs affected by changee
If CPUs are moved to or removed from a rdtgroup, the percpu closid storage
is updated. If tasks running on an affected CPU use the percpu closid then
the PQR_ASSOC MSR is only updated when the task runs through a context
switch. Up to the context switch the CPUs operate on the wrong closid. This
state is potentially unbound.
Make the change immediately effective by invoking a smp function call on
the affected CPUs which stores the new closid in the perpu storage and
calls the rdt_sched_in() function which updates the MSR, if the current
task uses the percpu closid.
[ tglx: Made it work and massaged changelog once more ]
Signed-off-by: Fenghua Yu <[email protected]>
Cc: "Ravi V Shankar" <[email protected]>
Cc: "Tony Luck" <[email protected]>
Cc: "Sai Prakhya" <[email protected]>
Cc: "Vikas Shivappa" <[email protected]>
Cc: "Ingo Molnar" <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions