summaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2021-03-18 20:28:13 +0300
committerIngo Molnar <mingo@kernel.org>2021-03-19 14:13:10 +0300
commitaa3a5f31877e5dc131cc286ce707413d441c8375 (patch)
tree080a428513ea19f63fd915a5edd45c6766609d8e /kernel/locking/rtmutex-debug.c
parent5261ced47f8e89173c3b015f6152a05f11a418c3 (diff)
downloadlinux-aa3a5f31877e5dc131cc286ce707413d441c8375.tar.xz
locking/locktorture: Pass thread id to lock/unlock functions
To allow the lock and unlock functions in locktorture to access per-thread information, we need to pass some hint on how to locate those information. One way to do this is to pass in a unique thread id which can then be used to access a global array for thread specific information. Change the lock and unlock method to add a thread id parameter which can be determined by the offset of the lwsp/lrsp pointer from the global lwsa/lrsa array. There is no other functional change in this patch. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210318172814.4400-5-longman@redhat.com
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions