diff options
author | Peter Zijlstra <peterz@infradead.org> | 2015-08-04 20:22:49 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-12 12:37:22 +0300 |
commit | c7999c6f3fed9e383d3131474588f282ae6d56b9 (patch) | |
tree | ecd84ef16259aedf4343b5b908eec40953c696d8 /arch | |
parent | ee9397a6fb9bc4e52677f5e33eed4abee0f515e6 (diff) | |
download | linux-c7999c6f3fed9e383d3131474588f282ae6d56b9.tar.xz |
perf: Fix PERF_EVENT_IOC_PERIOD migration race
I ran the perf fuzzer, which triggered some WARN()s which are due to
trying to stop/restart an event on the wrong CPU.
Use the normal IPI pattern to ensure we run the code on the correct CPU.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: bad7192b842c ("perf: Fix PERF_EVENT_IOC_PERIOD to force-reset the period")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions