Skip to content

locking-core-2022-10-07

tagged this 07 Oct 08:02
 - 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

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Assets 2
Loading