diff options
| author | Thomas Gleixner <[email protected]> | 2021-08-15 21:29:22 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2021-08-17 17:06:04 +0000 |
| commit | 015680aa4c5d784513d0a9728bc52ec7c4a64227 (patch) | |
| tree | 6f5b9ad1845d01293a6780e7fcfef57487a7d3ab /lib/string_helpers.c | |
| parent | locking/rtmutex: Prevent lockdep false positive with PI futexes (diff) | |
| download | kernel-015680aa4c5d784513d0a9728bc52ec7c4a64227.tar.gz kernel-015680aa4c5d784513d0a9728bc52ec7c4a64227.zip | |
preempt: Adjust PREEMPT_LOCK_OFFSET for RT
On PREEMPT_RT regular spinlocks and rwlocks are substituted with rtmutex
based constructs. spin/rwlock held regions are preemptible on PREEMPT_RT,
so PREEMPT_LOCK_OFFSET has to be 0 to make the various cond_resched_*lock()
functions work correctly.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
