From: Linus Torvalds Date: Mon, 10 Oct 2022 16:44:12 +0000 (-0700) Subject: Merge tag 'locking-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kernel... X-Git-Tag: v6.6.17~6430 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e71f0167b3db4e4b3d0d8353c375f6587323052;p=platform%2Fkernel%2Flinux-rpi.git Merge tag 'locking-core-2022-10-07' of git://git./linux/kernel/git/tip/tip Pull locking updates from Ingo Molnar: - Disable preemption in rwsem_write_trylock()'s attempt to take the rwsem, to avoid RT tasks hogging the CPU, which managed to preempt this function after the owner has been cleared but before a new owner is set. Also add debug checks to enforce this. - Add __lockfunc to more slow path functions and add __sched to semaphore functions. - Mark spinlock APIs noinline when the respective CONFIG_INLINE_SPIN_* toggles are disabled, to reduce LTO text size. - Print more debug information when lockdep gets confused in look_up_lock_class(). - Improve header file abuse checks. - Misc cleanups * tag 'locking-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: locking/lockdep: Print more debug information - report name and key when look_up_lock_class() got confused locking: Add __sched to semaphore functions locking/rwsem: Disable preemption while trying for rwsem lock locking: Detect includes rwlock.h outside of spinlock.h locking: Add __lockfunc to slow path functions locking/spinlocks: Mark spinlocks noinline when inline spinlocks are disabled selftests: futex: Fix 'the the' typo in comment --- 3e71f0167b3db4e4b3d0d8353c375f6587323052