Merge tag 'locking-core-2024-01-08' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jan 2024 02:19:44 +0000 (18:19 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jan 2024 02:19:44 +0000 (18:19 -0800)
commit6cbf5b3105f31217053570e7ca722b739a9242a4
tree6e2cdd781c14ae73e6afe5034a2ae1d131781a69
parentf0a78b3e2a0c842cc7b4c2686f4a35681f02ca72
parent2b9d9e0a9ba0e24cb9c78336481f0ed8b2bc1ff2
Merge tag 'locking-core-2024-01-08' of git://git./linux/kernel/git/tip/tip

Pull locking updates from Ingo Molar:
 "Lock guards:

   - Use lock guards in the ptrace code

   - Introduce conditional guards to extend to conditional lock
     primitives like mutex_trylock()/mutex_lock_interruptible()/etc.

  lockdep:

   - Optimize 'struct lock_class' to be smaller

   - Update file patterns in MAINTAINERS

  mutexes:

   - Document mutex lifetime rules a bit more"

* tag 'locking-core-2024-01-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  locking/mutex: Clarify that mutex_unlock(), and most other sleeping locks, can still use the lock object after it's unlocked
  locking/mutex: Document that mutex_unlock() is non-atomic
  ptrace: Convert ptrace_attach() to use lock guards
  locking/lockdep: Slightly reorder 'struct lock_class' to save some memory
  MAINTAINERS: Add include/linux/lockdep*.h
  cleanup: Add conditional guard support
MAINTAINERS