[PATCH 0/2] x86/perf: A CR4.PCE bugfix and clarification

From: Andy Lutomirski
Date: Thu Mar 16 2017 - 16:00:38 EST


Hi all-

Vince found a bug in our CR4.PCE handling. While investigating, I
found what looked like another bug but actually wasn't.

Here's a fix for the bug (cc'd to stable) and a comment and lockdep
annotation for why the other non-bug isn't actually a bug.

Andy Lutomirski (2):
x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
x86/perf: Clarify why x86_pmu_event_mapped() isn't racy

arch/x86/events/core.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)

--
2.9.3