This website requires JavaScript.
Explore
Help
Register
Sign In
AcoSail
/
kernel_optimize_test
Watch
8
Star
0
Fork
0
You've already forked kernel_optimize_test
forked from
luck/tmp_suning_uos_patched
Code
Pull Requests
Activity
6510d41954
kernel_optimize_test
/
include
/
asm-um
/
semaphore.h
2 lines
29 B
C
Raw
Normal View
History
Unescape
Escape
Generic semaphore implementation Semaphores are no longer performance-critical, so a generic C implementation is better for maintainability, debuggability and extensibility. Thanks to Peter Zijlstra for fixing the lockdep warning. Thanks to Harvey Harrison for pointing out that the unlikely() was unnecessary. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Acked-by: Ingo Molnar <mingo@elte.hu>
2008-03-08 10:55:58 +08:00
#
include
<linux/semaphore.h>
Copy Permalink