Files
linux/kernel
Peter Zijlstra bf7b3ac2e3 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) <[email protected]>
Acked-by: Chris Wilson <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
2017-03-16 09:57:09 +01:00
..
…
…
…
2017-01-12 07:01:56 -07:00
…
…
…
…
…
…
…
…
…
…
2017-02-27 18:43:47 -08:00
…
2016-12-22 22:58:37 -05:00
…
2017-02-10 11:15:08 +01:00