Skip to content
Snippets Groups Projects
Commit 64ac24e7 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

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: default avatarMatthew Wilcox <willy@linux.intel.com>
Acked-by: default avatarIngo Molnar <mingo@elte.hu>
parent e48b3dee
No related branches found
No related tags found
Loading
Showing
with 7 additions and 1050 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment