diff options
author | Davidlohr Bueso <[email protected]> | 2014-05-28 21:36:43 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-06-05 13:29:37 +0200 |
commit | 9161f5409798d52aa8598ff12575fde2327bed84 (patch) | |
tree | a6ea49760c3b3a0fc3f5778568549d6a8ff982fb /tools/perf/util/trace-event-scripting.c | |
parent | 0cc3d01164aba483edd8232aa5c781136843c367 (diff) |
locking/mutexes: Documentation update/rewrite
Our mutexes have gone a long ways since the original
implementation back in 2005/2006. However, the mutex-design.txt
document is still stuck in the past, to the point where most of
the information there is practically useless and, more
important, simply incorrect. This patch pretty much rewrites it
to resemble what we have nowadays.
Since regular semaphores are almost much extinct in the kernel
(most users now rely on mutexes or rwsems), it no longer makes
sense to have such a close comparison, which was copied from
most of the cover letter when Ingo introduced the generic mutex
subsystem.
Note that ww_mutexes are intentionally left out, leaving things
as generic as possible.
Signed-off-by: Davidlohr Bueso <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions