Changes since V3:
- Avoid for_each_online_cpu() search for per package MSR access. This
is achieved by tracking a per package lead cpu via cpumask_xx() calls.
(suggested by Thomas Gleixner <[email protected]>)
- Add direct reference of RAPL package for each RAPL domain.
This patch optimize remote IPI calls for MSR access.
Jacob Pan (2):
cpumask: export cpumask_any_but
powercap/rapl: reduce ipi calls
drivers/powercap/intel_rapl.c | 224 ++++++++++++++++++++++--------------------
lib/cpumask.c | 1 +
2 files changed, 119 insertions(+), 106 deletions(-)
--
1.9.1