Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull perf fix from Thomas Gleixner:
"A single fix for the intel cqm perf facility to prevent IPIs from
interrupt context"

* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
perf/x86/intel/cqm: Return cached counter value from IRQ context

+8
+8
arch/x86/kernel/cpu/perf_event_intel_cqm.c
··· 952 952 return 0; 953 953 954 954 /* 955 + * Getting up-to-date values requires an SMP IPI which is not 956 + * possible if we're being called in interrupt context. Return 957 + * the cached values instead. 958 + */ 959 + if (unlikely(in_interrupt())) 960 + goto out; 961 + 962 + /* 955 963 * Notice that we don't perform the reading of an RMID 956 964 * atomically, because we can't hold a spin lock across the 957 965 * IPIs.