[RFC PATCH 5/6] perf: Disable PMU around address filter adjustment

2016-09-23 Thread Alexander Shishkin
If the PMU is used for AUX data sampling, the hardware event that triggers it may come in during a critical section of address filters adjustment (if it's delivered as NMI) and in turn call the address filter sync code, causing a spinlock recursion. To prevent this, disable the PMU around these

[RFC PATCH 5/6] perf: Disable PMU around address filter adjustment

2016-09-23 Thread Alexander Shishkin
If the PMU is used for AUX data sampling, the hardware event that triggers it may come in during a critical section of address filters adjustment (if it's delivered as NMI) and in turn call the address filter sync code, causing a spinlock recursion. To prevent this, disable the PMU around these