diff options
author | Byungchul Park <[email protected]> | 2017-08-07 16:12:56 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-10 12:29:10 +0200 |
commit | cd8084f91c02c1afd256a39aa833bff737631304 (patch) | |
tree | a2eb7a1ce13798602affca1f244dbccc583b3952 /tools/perf/scripts/python/futex-contention.py | |
parent | 383a4bc88849b804385162e81bf704f8f9690a87 (diff) |
locking/lockdep: Apply crossrelease to completions
Although wait_for_completion() and its family can cause deadlock, the
lock correctness validator could not be applied to them until now,
because things like complete() are usually called in a different context
from the waiting context, which violates lockdep's assumption.
Thanks to CONFIG_LOCKDEP_CROSSRELEASE, we can now apply the lockdep
detector to those completion operations. Applied it.
Signed-off-by: Byungchul Park <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions