mutex subsystem, -V10
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 of 19 patches 3 repliesIn review
17 of 19 patches are in this archive. The cover letter announces 19.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | mutex subsystem, add atomic_xchg() to all archesinclude/ include/ include/ +19 more | +29 | 0 replies | |
| 2/19 | mutex subsystem, add typecheck_fn(type, function)include/ | +9 | 0 replies | |
| 3/19 | mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementationsinclude/ include/ include/ | +238 | 0 replies | |
| 4/19 | mutex subsystem, add include/asm-i386/mutex.hinclude/ | +136 | 0 replies | |
| 5/19 | mutex subsystem, add include/asm-x86_64/mutex.hinclude/ | +113 | 2 replies | |
| 6/19 | mutex subsystem, add include/asm-arm/mutex.hinclude/ | +128 | 0 replies | |
| 7/19 | mutex subsystem, add default include/asm-*/mutex.h filesinclude/ include/ include/ +16 more | +171 | 0 replies | |
| 8/19 | mutex subsystem, coreinclude/ kernel/ kernel/ +1 more | +581 | 0 replies | |
| 9/19 | mutex subsystem, documentationDocumentation/ | +134 | 0 replies | |
| 10/19 | mutex subsystem, debugging codeinclude/ include/ kernel/ +4 more | +636 | 0 replies | |
| 11/19 | mutex subsystem, more debugging codearch/ drivers/ include/ +4 more | +37 | 0 replies | |
| 12/19 | mutex subsystem, semaphore to mutex: XFSfs/ fs/ fs/ +7 more | +22 | 0 replies | |
| 14/19 | mutex subsystem, semaphore to mutex: VFS, ->i_sem, morefs/ ipc/ security/ +2 more | +13 | 0 replies | |
| 16/19 | mutex subsystem, semaphore to completion: SX8drivers/ | +6 | 0 replies | |
| 17/19 | mutex subsystem, semaphore to completion: CPU3WDTdrivers/ | +5 | 0 replies | |
| 18/19 | mutex subsystem, semaphore to completion: IDE ->gendev_rel_semdrivers/ drivers/ include/ | +9 | 0 replies | |
| 19/19 | mutex subsystem, semaphore to completion: drivers/block/loop.cdrivers/ include/ | +14 | 0 replies |
Reviews trailers per patch
None of the 17 patches has a Reviewed-by or Acked-by.
| Patch | Ingo Molnar | Steven Rostedt |
|---|---|---|
| 1/19 | ||
| 2/19 | Modified-by | |
| 3/19 | ||
| 4/19 | ||
| 5/19 | ||
| 6/19 | ||
| 7/19 | ||
| 8/19 | ||
| 9/19 | ||
| 10/19 | ||
| 11/19 | ||
| 12/19 | ||
| 14/19 | ||
| 16/19 | ||
| 17/19 | ||
| 18/19 | Modified-by | |
| 19/19 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/19] mutex subsystem, -V10
this is version -V10 of the generic mutex subsystem. It consists of the following 19 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
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 are against 2.6.15-rc7, and they should work fine on every Linux architecture. They can also be downloaded from:
http://redhat.com/~mingo/generic-mutex-subsystem/
i have tested all 5 mutex implementation variants under MUTEX_DEBUG_FULL on x86: native, -dec, -xchg, -null and debug. I have also boot-tested x86_64 native mutexes.
Changes since -V9:
136 files changed, 1172 insertions(+), 1041 deletions(-)
- function-typechecking cleanup (Chuck Ebbert)
- added "From:" attribution lines. (the S-o-b lines were OK.)
- added Arjan's mass conversion which converts simple semaphore users to
mutexes: all the use is within a single .c file, the semaphore was declared static, and all down()+up() uses are within a single function. These conditions were reviewed manually, and conversion was generated automatically via a script.
- semaphore to completion: CPU3WDT (Steven Rostedt)
- semaphore to completion: SX8 (Steven Rostedt)
- semaphore to completion: IDE ->gendev_rel_sem (Aleksey Makarov)
- semaphore to completion: drivers/block/loop.c
- updates to Documentation/mutex-design.txt
- added __mutex_fastpath_lock_retval to asm-x86_64/mutex.h
- converted ipc/mqueue.c and security/inode.c to ->i_mutex
- more header file cleanups
Ingo