diff options
author | Peter Zijlstra <peterz@infradead.org> | 2017-09-20 19:00:20 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-09-25 22:11:43 +0200 |
commit | 5f4b55e10645b7371322c800a5ec745cab487a6c (patch) | |
tree | 7075811470311ce6335c6b42b0e53a0b61722e5d /net/psample | |
parent | 724a86881d03ee5794148e65142e24ed3621be66 (diff) | |
download | linux-5f4b55e10645b7371322c800a5ec745cab487a6c.tar.bz2 |
smp/hotplug: Differentiate the AP-work lockdep class between up and down
With lockdep-crossrelease we get deadlock reports that span cpu-up and
cpu-down chains. Such deadlocks cannot possibly happen because cpu-up
and cpu-down are globally serialized.
CPU0 CPU1 CPU2
cpuhp_up_callbacks: takedown_cpu: cpuhp_thread_fun:
cpuhp_state
irq_lock_sparse()
irq_lock_sparse()
wait_for_completion()
cpuhp_state
complete()
Now that we have consistent AP state, we can trivially separate the
AP-work class between up and down using st->bringup.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: max.byungchul.park@gmail.com
Cc: bigeasy@linutronix.de
Cc: efault@gmx.de
Cc: rostedt@goodmis.org
Link: https://lkml.kernel.org/r/20170920170546.922524234@infradead.org
Diffstat (limited to 'net/psample')
0 files changed, 0 insertions, 0 deletions