aboutsummaryrefslogtreecommitdiff
path: root/net/Kconfig
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-01-09 15:59:17 -0800
committerIngo Molnar <mingo@hera.kernel.org>2006-01-09 15:59:17 -0800
commit620a6fd185c084aa617c411f711533f01ea673c9 (patch)
tree3ab1a296a2cd952bc3dd602fc5dd2ada9288b2c4 /net/Kconfig
parent711a660dc2064013a2b0167ee67389707fc9cac3 (diff)
[PATCH] mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementations
Add three (generic) mutex fastpath implementations. The mutex-xchg.h implementation is atomic_xchg() based, and should work fine on every architecture. The mutex-dec.h implementation is atomic_dec_return() based - this one too should work on every architecture, but might not perform the most optimally on architectures that have no atomic-dec/inc instructions. The mutex-null.h implementation forces all calls into the slowpath. This is used for mutex debugging, but it can also be used on platforms that do not want (or need) a fastpath at all. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions