diff options
author | Will Deacon <[email protected]> | 2014-01-21 15:36:10 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-01-28 13:13:28 +0100 |
commit | e207552e64ea053a33e856828ad7915484911d06 (patch) | |
tree | cf3fcc21ce54d15edc8bf13373c786ed6511ee41 /fs/jbd2/commit.c | |
parent | 5faeb8adb956a5ad6579c4e309e8689943ad8294 (diff) |
locking/mcs: Allow architectures to hook in to contended paths
When contended, architectures may be able to reduce the polling overhead
in ways which aren't expressible using a simple relax() primitive.
This patch allows architectures to hook into the mcs_{lock,unlock}
functions for the contended cases only.
Reviewed-by: Paul E. McKenney <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Tim Chen <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/1390347370.3138.65.camel@schen9-DESK
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions