[patch V3 25/28] x86/perf/intel/rapl: Utilize event->pmu_private

2016-02-22 Thread Thomas Gleixner
Store the pmu in event->pmu_private and use it instead of the per cpu data. Preparatory step to get rid of the per cpu allocations. The usage sites are the perf fast path, so we keep that even after the conversion to per package storage as a cpu to package lookup involves 3 loads versus 1 with the

[patch V3 25/28] x86/perf/intel/rapl: Utilize event->pmu_private

2016-02-22 Thread Thomas Gleixner
Store the pmu in event->pmu_private and use it instead of the per cpu data. Preparatory step to get rid of the per cpu allocations. The usage sites are the perf fast path, so we keep that even after the conversion to per package storage as a cpu to package lookup involves 3 loads versus 1 with the