summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-03-13 13:46:21 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-23 07:31:48 +0100
commit71fdb70eb48784c1f28cdf2e67c4c587dd7f2594 (patch)
tree4df2510a131df21ac31d649fd792b5acae47c78b /arch/x86/include/asm
parentmm, swap: Remove WARN_ON_ONCE() in free_swap_slot() (diff)
downloadlinux-71fdb70eb48784c1f28cdf2e67c4c587dd7f2594.tar.xz
linux-71fdb70eb48784c1f28cdf2e67c4c587dd7f2594.zip
sched/clock: Fix clear_sched_clock_stable() preempt wobbly
Paul reported a problems with clear_sched_clock_stable(). Since we run all of __clear_sched_clock_stable() from workqueue context, there's a preempt problem. Solve it by only running the static_key_disable() from workqueue. Reported-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: fweisbec@gmail.com Link: http://lkml.kernel.org/r/20170313124621.GA3328@twins.programming.kicks-ass.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions