Skip to content

mutex subsystem, -V13

Ingo Molnar lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 of 20 patches 0 repliesNew

18 of 20 patches are in this archive. The cover letter announces 20.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20mutex 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/20mutex subsystem, add typecheck_fn(type, function)include/linux/kernel.h+9 -00 replies
3/20mutex 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+238 -00 replies
4/20mutex subsystem, add include/asm-i386/mutex.hinclude/asm-i386/mutex.h+136 -00 replies
5/20mutex subsystem, add include/asm-x86_64/mutex.hinclude/asm-x86_64/mutex.h+113 -00 replies
6/20mutex subsystem, add include/asm-arm/mutex.hinclude/asm-arm/mutex.h+128 -00 replies
7/20mutex 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
8/20mutex subsystem, coreinclude/linux/mutex.h kernel/Makefile kernel/mutex.c +1 more+493 -10 replies
9/20mutex subsystem, documentationDocumentation/mutex-design.txt+134 -00 replies
10/20mutex subsystem, debugging codeinclude/linux/mutex-debug.h include/linux/sched.h kernel/Makefile +4 more+637 -00 replies
11/20mutex subsystem, more debugging codearch/i386/mm/pageattr.c drivers/char/sysrq.c include/linux/mm.h +4 more+37 -00 replies
12/20mutex subsystem, synchro-test moduleDocumentation/synchro-test.txt kernel/Makefile kernel/synchro-test.c +1 more+582 -00 replies
13/20mutex subsystem, semaphore to mutex: XFSfs/xfs/linux-2.6/mutex.h fs/xfs/quota/xfs_dquot.c fs/xfs/quota/xfs_qm.c +7 more+22 -260 replies
15/20mutex subsystem, semaphore to mutex: VFS, ->i_sem, morefs/cifs/inode.c fs/ext2/acl.c fs/ext2/ext2.h +37 more+103 -1070 replies
17/20mutex subsystem, semaphore to completion: SX8drivers/block/sx8.c+6 -60 replies
18/20mutex subsystem, semaphore to completion: CPU3WDTdrivers/char/watchdog/cpu5wdt.c+5 -40 replies
19/20mutex subsystem, semaphore to completion: IDE ->gendev_rel_semdrivers/ide/ide-probe.c drivers/ide/ide.c include/linux/ide.h+9 -80 replies
20/20mutex subsystem, semaphore to completion: drivers/block/loop.cdrivers/block/loop.c include/linux/loop.h+14 -170 replies

Reviews trailers per patch

None of the 18 patches has a Reviewed-by or Acked-by.

PatchIngo MolnarSteven Rostedt
1/20
2/20Modified-by
3/20
4/20
5/20
6/20
7/20
8/20
9/20
10/20
11/20
12/20
13/20
15/20
17/20
18/20
19/20Modified-by
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 00/20] mutex subsystem, -V13

this is version -V13 of the generic mutex subsystem, against v2.6.15.

The patch-queue consists of the following 20 patches:

add-atomic-xchg.patch
add-function-typecheck.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
synchro-test.patch

sem2mutex-xfs.patch
sem2mutex-vfs-i-sem.patch
sem2mutex-vfs-i-sem-more.patch
sem2mutex-simple-ones.patch

sem2completion-sx8.patch
sem2completion-cpu5wdt.patch
sem2completion-ide-gendev.patch
sem2completion-loop.patch

the patches should work fine on every Linux architecture. They can also be downloaded from:

http://redhat.com/~mingo/generic-mutex-subsystem/

Changes since -V12:

 6 files changed, 644 insertions(+), 67 deletions(-)

- added the synchronization primitives test module, by David Howells

[ modified it to do default tests on bootup, if =y ]

- cleaned up __mutex_lock_common(), removed two ugly gotos

- other smaller cleanups

Ingo