[PATCH v4 0/2] powercap/rapl: reduce ipi calls and misc clean up

From: Jacob Pan
Date: Fri Feb 19 2016 - 15:39:05 EST


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 <tglx@xxxxxxxxxxxxx>)
- 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