Skip to content

mutex subsystem, -V9

Ingo Molnar lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 of 13 patches 0 repliesNew

12 of 13 patches are in this archive. The cover letter announces 13.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13mutex subsystem, add atomic_xchg() to all archesinclude/asm-alpha/atomic.h include/asm-arm/atomic.h include/asm-arm26/atomic.h +19 more+29 -00 replies
2/13mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementationsinclude/asm-generic/mutex-dec.h include/asm-generic/mutex-null.h include/asm-generic/mutex-xchg.h+239 -00 replies
3/13mutex subsystem, add include/asm-i386/mutex.hinclude/asm-i386/mutex.h+140 -00 replies
4/13mutex subsystem, add include/asm-x86_64/mutex.hinclude/asm-x86_64/mutex.h+97 -00 replies
5/13mutex subsystem, add include/asm-arm/mutex.hinclude/asm-arm/mutex.h+134 -00 replies
6/13mutex subsystem, add default include/asm-*/mutex.h filesinclude/asm-alpha/mutex.h include/asm-cris/mutex.h include/asm-frv/mutex.h +16 more+171 -00 replies
7/13mutex subsystem, coreinclude/linux/mutex.h kernel/Makefile kernel/mutex.c +1 more+581 -10 replies
8/13mutex subsystem, documentationDocumentation/mutex-design.txt+126 -00 replies
9/13mutex subsystem, debugging codeinclude/linux/mutex-debug.h include/linux/sched.h kernel/Makefile +4 more+636 -00 replies
10/13mutex subsystem, more debugging codearch/i386/mm/pageattr.c drivers/char/sysrq.c include/linux/mm.h +4 more+37 -00 replies
11/13mutex subsystem, XFS: use mutexesfs/xfs/linux-2.6/mutex.h fs/xfs/quota/xfs_dquot.c fs/xfs/quota/xfs_qm.c +7 more+22 -260 replies
13/13mutex subsystem, more i_sem -> i_mutex conversionsfs/nfs/dir.c fs/nfs/file.c sound/core/oss/pcm_oss.c +1 more+11 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 00/13] mutex subsystem, -V9

this is version -V9 of the generic mutex subsystem. It consists of the following 13 patches:

add-atomic-xchg.patch
mutex-generic-asm-implementations.patch
mutex-asm-mutex.h-i386.patch
mutex-asm-mutex.h-x86_64.patch
mutex-asm-mutex.h-arm.patch
mutex-arch-mutex-h.patch
mutex-core.patch
mutex-docs.patch
mutex-debug.patch
mutex-debug-more.patch
xfs-use-mutexes.patch
vfs-i-sem-to-mutex.patch
vfs-use-more-mutexes.patch

the patches are against Linus' latest GIT tree, and they should work fine on every Linux architecture.

i have tested all 5 mutex implementation variants under MUTEX_DEBUG_FULL on x86: native, -dec, -xchg, -null and debug.

Changes since -V8:

 93 files changed, 502 insertions(+), 500 deletions(-)

- ARMv6: __mutex_fastpath_trylock micro-optimization (Nicolas Pitre)

- asm-generic/mutex-xchg.h: better __mutex_fastpath_trylock implementation (Nicolas Pitre)

- XFS: use mutexes directly (Jes Sorensen)

- experimental conversion of VFS: change i_sem to i_mutex (Jes Sorensen)

Ingo