aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-08-15 21:29:28 +0000
committerIngo Molnar <[email protected]>2021-08-17 17:08:49 +0000
commit026659b9774e4c586baeb457557fcfc4e0ad144b (patch)
tree5355b9097ba53475d11d1c2de92555d043c9b664 /lib/test_stackinit.c
parentlocking/spinlock/rt: Prepare for RT local_lock (diff)
downloadkernel-026659b9774e4c586baeb457557fcfc4e0ad144b.tar.gz
kernel-026659b9774e4c586baeb457557fcfc4e0ad144b.zip
locking/local_lock: Add PREEMPT_RT support
On PREEMPT_RT enabled kernels local_lock maps to a per CPU 'sleeping' spinlock which protects the critical section while staying preemptible. CPU locality is established by disabling migration. Provide the necessary types and macros to substitute the non-RT variant. Co-developed-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> 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/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions