diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2021-11-29 17:46:52 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-12-04 09:56:24 +0000 |
| commit | 9a75bd0c52df6cff44735f73dfb9d00e67969fc5 (patch) | |
| tree | b7b401496881bf9c3e88b155cced5a585d5ada6d /Documentation/filesystems/caching/netfs-api.rst | |
| parent | lockdep/selftests: Skip the softirq related tests on PREEMPT_RT (diff) | |
| download | kernel-9a75bd0c52df6cff44735f73dfb9d00e67969fc5.tar.gz kernel-9a75bd0c52df6cff44735f73dfb9d00e67969fc5.zip | |
lockdep/selftests: Adapt ww-tests for PREEMPT_RT
The ww-mutex selftest operates directly on ww_mutex::base and assumes
its type is struct mutex. This isn't true on PREEMPT_RT which turns the
mutex into a rtmutex.
Add a ww_mutex_base_ abstraction which maps to the relevant mutex_ or
rt_mutex_ function.
Change the CONFIG_DEBUG_MUTEXES ifdef to DEBUG_WW_MUTEXES. The latter is
true for the MUTEX and RTMUTEX implementation of WW-MUTEX. The
assignment is required in order to pass the tests.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions
