diff options
author | Peter Zijlstra <peterz@infradead.org> | 2017-03-03 13:57:56 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-16 09:57:09 +0100 |
commit | bf7b3ac2e36ac054f93e5dd8d85dfd754b5e1c09 (patch) | |
tree | 17010ad6d0694cb065462dd0110c43f2eee0d39e /fs/mount.h | |
parent | 383776fa7527745224446337f2dcfb0f0d1b8b56 (diff) | |
download | linux-bf7b3ac2e36ac054f93e5dd8d85dfd754b5e1c09.tar.gz |
locking/ww_mutex: Improve test to cover acquire context changes
Currently each thread starts an acquire context only once, and performs all its loop iterations under it. This means that the Wound/Wait relations between threads are fixed. To make things a little more realistic and cover more of the functionality with the test, open a new acquire context for each loop. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions