Re: [PATCH V3 1/2] perf/x86: Move cpuc->running into P4 specific code
Thanks for these Kan!
[PATCH V3 1/2] perf/x86: Move cpuc->running into P4 specific code
From: Kan Liang The 'running' variable is only used in the P4 PMU. Current perf sets the variable in the critical function x86_pmu_start(), which wastes cycles for everybody not running on P4. Move cpuc->running into the P4 specific p4_pmu_enable_event(). Add a static per-CPU 'p4_running' varia