diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-12-26 17:25:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-12-26 17:25:52 -0500 |
commit | 1eefdec18eded41833401cfd64749643ff72e7da (patch) | |
tree | cf9d35939e239b7d1ed3194bec7f4d51409c2d50 /tools/lib/lockdep/tests/ABBCCDDA.c | |
parent | 684019dd1f0092b4ffce4958c84aff0891deac83 (diff) | |
parent | 80eb865768703c0f85a0603762742ae1dedf21f0 (diff) |
Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull locking updates from Ingo Molnar:
"The main change in this cycle are initial preparatory bits of dynamic
lockdep keys support from Bart Van Assche.
There are also misc changes, a comment cleanup and a data structure
cleanup"
* 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched/fair: Clean up comment in nohz_idle_balance()
locking/lockdep: Stop using RCU primitives to access 'all_lock_classes'
locking/lockdep: Make concurrent lockdep_reset_lock() calls safe
locking/lockdep: Remove a superfluous INIT_LIST_HEAD() statement
locking/lockdep: Introduce lock_class_cache_is_registered()
locking/lockdep: Inline __lockdep_init_map()
locking/lockdep: Declare local symbols static
tools/lib/lockdep/tests: Test the lockdep_reset_lock() implementation
tools/lib/lockdep: Add dummy print_irqtrace_events() implementation
tools/lib/lockdep: Rename "trywlock" into "trywrlock"
tools/lib/lockdep/tests: Run lockdep tests a second time under Valgrind
tools/lib/lockdep/tests: Improve testing accuracy
tools/lib/lockdep/tests: Fix shellcheck warnings
tools/lib/lockdep/tests: Display compiler warning and error messages
locking/lockdep: Remove ::version from lock_class structure
Diffstat (limited to 'tools/lib/lockdep/tests/ABBCCDDA.c')
-rw-r--r-- | tools/lib/lockdep/tests/ABBCCDDA.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lib/lockdep/tests/ABBCCDDA.c b/tools/lib/lockdep/tests/ABBCCDDA.c index aa5d194e8869..3570bf7b3804 100644 --- a/tools/lib/lockdep/tests/ABBCCDDA.c +++ b/tools/lib/lockdep/tests/ABBCCDDA.c | |||
@@ -15,4 +15,9 @@ void main(void) | |||
15 | LOCK_UNLOCK_2(b, c); | 15 | LOCK_UNLOCK_2(b, c); |
16 | LOCK_UNLOCK_2(c, d); | 16 | LOCK_UNLOCK_2(c, d); |
17 | LOCK_UNLOCK_2(d, a); | 17 | LOCK_UNLOCK_2(d, a); |
18 | |||
19 | pthread_mutex_destroy(&d); | ||
20 | pthread_mutex_destroy(&c); | ||
21 | pthread_mutex_destroy(&b); | ||
22 | pthread_mutex_destroy(&a); | ||
18 | } | 23 | } |