IPI calls to access MSRs on remote CPUs are expensive. So add a lib call for read/modify/write access and use it in Intel RAPL driver.
Jacob Pan (2): x86/msr: add on cpu read/modify/write function powercap/rapl: reduce ipi calls arch/x86/include/asm/msr.h | 24 +++++++++++++++ arch/x86/lib/msr-smp.c | 47 ++++++++++++++++++++++++++++ drivers/powercap/intel_rapl.c | 71 ++++++++++++++++++++++--------------------- 3 files changed, 108 insertions(+), 34 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/