|Age||Commit message (Collapse)||Author||Lines|
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 <firstname.lastname@example.org>
Acked-by: Ingo Molnar <email@example.com>
[firstname.lastname@example.org: coding-style fixes]
Signed-off-by: Harvey Harrison <email@example.com>
Signed-off-by: Andrew Morton <firstname.lastname@example.org>
Signed-off-by: Linus Torvalds <email@example.com>
Signed-off-by: Jörn Engel <firstname.lastname@example.org>
Signed-off-by: Adrian Bunk <email@example.com>
This patch moves the common code in x86 and x86-64's semaphore.c into a
single file in lib/semaphore-sleepers.c. The arch specific asm stubs are
left in the arch tree (in semaphore.c for i386 and in the asm for x86-64).
There should be no changes in code/functionality with this patch.
Signed-off-by: Benjamin LaHaise <firstname.lastname@example.org>
Cc: Andi Kleen <email@example.com>
Signed-off-by: Jeff Dike <firstname.lastname@example.org>
Signed-off-by: Andrew Morton <email@example.com>
Signed-off-by: Linus Torvalds <firstname.lastname@example.org>