powercap/rapl: reduce ipi calls
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Wed, 24 Feb 2016 21:31:36 +0000 (13:31 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 8 Mar 2016 23:26:43 +0000 (00:26 +0100)
commitf14a1396d8f19b6c53593045eba86d10360a0cee
tree6928de190e4775d90666fb001c3243e72e00aff7
parent16ccbd87c2e5d95f40f3b7a90f40cc2b34b89a22
powercap/rapl: reduce ipi calls

Reduce remote CPU calls for MSR access by combining read
modify write into one function.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c