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: NMatthew Wilcox <willy@linux.intel.com> Acked-by: NIngo Molnar <mingo@elte.hu>
Showing
arch/alpha/kernel/semaphore.c
已删除
100644 → 0
arch/arm/kernel/semaphore.c
已删除
100644 → 0
arch/avr32/kernel/semaphore.c
已删除
100644 → 0
arch/cris/kernel/semaphore.c
已删除
100644 → 0
arch/frv/kernel/semaphore.c
已删除
100644 → 0
arch/h8300/kernel/semaphore.c
已删除
100644 → 0
arch/ia64/kernel/semaphore.c
已删除
100644 → 0
arch/m32r/kernel/semaphore.c
已删除
100644 → 0
arch/m68k/kernel/semaphore.c
已删除
100644 → 0
arch/m68k/lib/semaphore.S
已删除
100644 → 0
arch/mips/kernel/semaphore.c
已删除
100644 → 0
arch/ppc/kernel/semaphore.c
已删除
100644 → 0
arch/s390/kernel/semaphore.c
已删除
100644 → 0
arch/sh/kernel/semaphore.c
已删除
100644 → 0
arch/sparc/kernel/semaphore.c
已删除
100644 → 0
arch/v850/kernel/semaphore.c
已删除
100644 → 0
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
include/linux/semaphore.h
0 → 100644
此差异已折叠。
此差异已折叠。
kernel/semaphore.c
0 → 100644
此差异已折叠。
此差异已折叠。
lib/semaphore-sleepers.c
已删除
100644 → 0
此差异已折叠。
想要评论请 注册 或 登录