-
- Downloads
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>
Showing
- arch/alpha/kernel/Makefile 1 addition, 1 deletionarch/alpha/kernel/Makefile
- arch/alpha/kernel/alpha_ksyms.c 0 additions, 9 deletionsarch/alpha/kernel/alpha_ksyms.c
- arch/alpha/kernel/semaphore.c 0 additions, 224 deletionsarch/alpha/kernel/semaphore.c
- arch/arm/kernel/Makefile 1 addition, 1 deletionarch/arm/kernel/Makefile
- arch/arm/kernel/semaphore.c 0 additions, 221 deletionsarch/arm/kernel/semaphore.c
- arch/avr32/kernel/Makefile 1 addition, 1 deletionarch/avr32/kernel/Makefile
- arch/avr32/kernel/semaphore.c 0 additions, 148 deletionsarch/avr32/kernel/semaphore.c
- arch/blackfin/Kconfig 0 additions, 4 deletionsarch/blackfin/Kconfig
- arch/blackfin/kernel/bfin_ksyms.c 0 additions, 5 deletionsarch/blackfin/kernel/bfin_ksyms.c
- arch/cris/kernel/Makefile 1 addition, 2 deletionsarch/cris/kernel/Makefile
- arch/cris/kernel/crisksyms.c 0 additions, 7 deletionsarch/cris/kernel/crisksyms.c
- arch/cris/kernel/semaphore.c 0 additions, 129 deletionsarch/cris/kernel/semaphore.c
- arch/frv/kernel/Makefile 1 addition, 1 deletionarch/frv/kernel/Makefile
- arch/frv/kernel/frv_ksyms.c 0 additions, 1 deletionarch/frv/kernel/frv_ksyms.c
- arch/frv/kernel/semaphore.c 0 additions, 155 deletionsarch/frv/kernel/semaphore.c
- arch/h8300/kernel/Makefile 1 addition, 1 deletionarch/h8300/kernel/Makefile
- arch/h8300/kernel/h8300_ksyms.c 0 additions, 1 deletionarch/h8300/kernel/h8300_ksyms.c
- arch/h8300/kernel/semaphore.c 0 additions, 132 deletionsarch/h8300/kernel/semaphore.c
- arch/ia64/kernel/Makefile 1 addition, 1 deletionarch/ia64/kernel/Makefile
- arch/ia64/kernel/ia64_ksyms.c 0 additions, 6 deletionsarch/ia64/kernel/ia64_ksyms.c
Loading
Please register or sign in to comment