mutex subsystem, -V15
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 of 21 patches 5 repliesIn review
19 of 21 patches are in this archive. The cover letter announces 21.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | mutex subsystem, add atomic_xchg() to all archesinclude/ include/ include/ +19 more | +29 | 1 reply | |
| 2/21 | mutex subsystem, add typecheck_fn(type, function)include/ | +9 | 0 replies | |
| 3/21 | mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementationsinclude/ include/ include/ | +238 | 1 reply | |
| 4/21 | mutex subsystem, add include/asm-i386/mutex.hinclude/ | +124 | 0 replies | |
| 5/21 | mutex subsystem, add include/asm-x86_64/mutex.hinclude/ | +113 | 0 replies | |
| 6/21 | mutex subsystem, add include/asm-arm/mutex.hinclude/ | +128 | 1 reply | |
| 7/21 | mutex subsystem, add default include/asm-*/mutex.h filesinclude/ include/ include/ +16 more | +171 | 0 replies | |
| 8/21 | mutex subsystem, coreinclude/ kernel/ kernel/ +1 more | +480 | 0 replies | |
| 9/21 | mutex subsystem, documentationDocumentation/ Documentation/ | +149 | 0 replies | |
| 10/21 | mutex subsystem, debugging codeinclude/ include/ kernel/ +4 more | +637 | 2 replies | |
| 11/21 | mutex subsystem, more debugging codearch/ drivers/ include/ +4 more | +37 | 0 replies | |
| 12/21 | mutex subsystem, synchro-test moduleDocumentation/ kernel/ kernel/ +1 more | +601 | 0 replies | |
| 13/21 | mutex subsystem, semaphore to mutex: XFSfs/ fs/ fs/ +7 more | +22 | 0 replies | |
| 15/21 | mutex subsystem, semaphore to mutex: VFS, ->i_sem, morefs/ fs/ fs/ +37 more | +103 | 0 replies | |
| 16/21 | mutex subsystem, semaphore to mutex: VFS, sb->s_lockfs/ fs/ include/ | +5 | 0 replies | |
| 18/21 | mutex subsystem, semaphore to completion: SX8drivers/ | +6 | 0 replies | |
| 19/21 | mutex subsystem, semaphore to completion: CPU3WDTdrivers/ | +5 | 0 replies | |
| 20/21 | mutex subsystem, semaphore to completion: IDE ->gendev_rel_semdrivers/ drivers/ include/ | +9 | 0 replies | |
| 21/21 | mutex subsystem, semaphore to completion: drivers/block/loop.cdrivers/ include/ | +14 | 0 replies |
Reviews trailers per patch
None of the 19 patches has a Reviewed-by or Acked-by.
| Patch | Ingo Molnar | Steven Rostedt |
|---|---|---|
| 1/21 | ||
| 2/21 | Modified-by | |
| 3/21 | ||
| 4/21 | ||
| 5/21 | ||
| 6/21 | ||
| 7/21 | ||
| 8/21 | ||
| 9/21 | ||
| 10/21 | ||
| 11/21 | ||
| 12/21 | ||
| 13/21 | ||
| 15/21 | ||
| 16/21 | ||
| 18/21 | ||
| 19/21 | ||
| 20/21 | Modified-by | |
| 21/21 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/21] mutex subsystem, -V15
this is version 15 of the generic mutex subsystem, against v2.6.15.
The patch-queue consists of 21 patches, which can also be downloaded from:
http://redhat.com/~mingo/generic-mutex-subsystem/
Changes since -V14:
5 files changed, 164 insertions(+), 191 deletions(-)
- micro-optimization #1: changed waiter->ti to be waiter->task, this shaved off 2 more instructions from the slowpath. Suggested by David Howells.
- micro-optimization #2: beware, this is evil black magic: i've enabled architectures to do tail-merging of the slowpath if they want to, and implemented this on x86. This shaves off another 3 instructions from the slowpath, which can now directly branch into the slowpath function, and the ret from there will bring us back to the call site. The cost is that no other code but the fastpath must be put into mutex_lock()/_unlock(). I have added big warnings to the affected places. The non-assembly generic includes, nor the debugging code is affected by this.
- reordered the API functions to be in likelyhood-of-use order:
mutex_lock()-fastpath, mutex_unlock()-fastpath, mutex_lock()-slowpath, mutex_unlock()-slowpath, mutex_lock_interruptible() fastpath/slowpath, mutex_trylock().
- cleanup: got rid of the intermediate __mutex_lock()/__mutex_unlock() wrappers, they were unnecessary. Renamed the _noinline functions to _slowpath - this is more descriptive.
Ingo