Skip to content

x86/perf: A CR4.PCE bugfix and clarification

Andy Lutomirski lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/perf: Fix CR4.PCE propagation to use active_mm instead of mmarch/x86/events/core.c+2 -20 replies
2/2x86/perf: Clarify why x86_pmu_event_mapped() isn't racyarch/x86/events/core.c+12 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchVince Weaver
1/2Reported-and-tested-by
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.9.3