aboutsummaryrefslogtreecommitdiffstats
path: root/tools/memory-model/litmus-tests/README
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2018-09-11 11:51:27 +0200
committerIngo Molnar <mingo@kernel.org>2018-09-11 20:01:03 +0200
commitcb92173d1f0474784c6171a9d3fdbbca0ee53554 (patch)
tree235d836c029b9c8213897ab723130b1393558db5 /tools/memory-model/litmus-tests/README
parentlocking/rtmutex: Fix the preprocessor logic with normal #ifdef #else #endif (diff)
downloadlinux-dev-cb92173d1f0474784c6171a9d3fdbbca0ee53554.tar.xz
linux-dev-cb92173d1f0474784c6171a9d3fdbbca0ee53554.zip
locking/lockdep, cpu/hotplug: Annotate AP thread
Anybody trying to assert the cpu_hotplug_lock is held (lockdep_assert_cpus_held()) from AP callbacks will fail, because the lock is held by the BP. Stick in an explicit annotation in cpuhp_thread_fun() to make this work. Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-tip-commits@vger.kernel.org Fixes: cb538267ea1e ("jump_label/lockdep: Assert we hold the hotplug lock for _cpuslocked() operations") Link: http://lkml.kernel.org/r/20180911095127.GT24082@hirez.programming.kicks-ass.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/memory-model/litmus-tests/README')
0 files changed, 0 insertions, 0 deletions