public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] locking changes for v6.8
@ 2024-01-08  9:12 Ingo Molnar
  2024-01-09  4:04 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Ingo Molnar @ 2024-01-08  9:12 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Peter Zijlstra, Thomas Gleixner, Will Deacon,
	Waiman Long, Boqun Feng, Borislav Petkov

Linus,

Please pull the latest locking/core git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-2024-01-08

   # HEAD: 2b9d9e0a9ba0e24cb9c78336481f0ed8b2bc1ff2 locking/mutex: Clarify that mutex_unlock(), and most other sleeping locks, can still use the lock object after it's unlocked

Locking changes for v6.8:

- 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

 Thanks,

	Ingo

------------------>
Christophe JAILLET (2):
      MAINTAINERS: Add include/linux/lockdep*.h
      locking/lockdep: Slightly reorder 'struct lock_class' to save some memory

Ingo Molnar (1):
      locking/mutex: Clarify that mutex_unlock(), and most other sleeping locks, can still use the lock object after it's unlocked

Jann Horn (1):
      locking/mutex: Document that mutex_unlock() is non-atomic

Peter Zijlstra (2):
      cleanup: Add conditional guard support
      ptrace: Convert ptrace_attach() to use lock guards


 Documentation/locking/mutex-design.rst |  18 ++++
 MAINTAINERS                            |   2 +-
 include/linux/cleanup.h                |  52 ++++++++++-
 include/linux/lockdep_types.h          |   2 +-
 include/linux/mutex.h                  |   3 +-
 include/linux/rwsem.h                  |   8 +-
 include/linux/sched/task.h             |   2 +
 include/linux/spinlock.h               |  41 +++++++++
 kernel/locking/mutex.c                 |   5 ++
 kernel/ptrace.c                        | 154 ++++++++++++++++-----------------
 10 files changed, 197 insertions(+), 90 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-09  4:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-08  9:12 [GIT PULL] locking changes for v6.8 Ingo Molnar
2024-01-09  4:04 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox