locktorture: Track time of last ->writeunlock()
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 31 Aug 2020 04:48:23 +0000 (21:48 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Sat, 7 Nov 2020 01:13:29 +0000 (17:13 -0800)
commit3480d6774f07341e3e1cf3114f58bef98ea58ae0
tree8fda088de1112129a861d85de5697cb5b0965898
parent08c7974293851da6a64989b5ce7a0750e58178b1
locktorture: Track time of last ->writeunlock()

This commit adds a last_lock_release variable that tracks the time of
the last ->writeunlock() call, which allows easier diagnosing of lock
hangs when using a kernel debugger.

Acked-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/locking/locktorture.c