summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-08-15 23:29:28 +0200
committerIngo Molnar <mingo@kernel.org>2021-08-17 19:08:49 +0200
commit026659b9774e4c586baeb457557fcfc4e0ad144b (patch)
tree5355b9097ba53475d11d1c2de92555d043c9b664 /kernel/locking
parent31552385f8e9d0869117014bf8e55ba0497e3ec8 (diff)
downloadlwn-026659b9774e4c586baeb457557fcfc4e0ad144b.tar.gz
lwn-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 <bigeasy@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210815211306.023630962@linutronix.de
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions