commit | 64ac24e738823161693bf791f87adc802cf529ff | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew@wil.cx> | Fri Mar 07 21:55:58 2008 -0500 |
committer | Matthew Wilcox <willy@linux.intel.com> | Thu Apr 17 10:42:34 2008 -0400 |
tree | 19c0b0cf314d4394ca580c05b86cdf874ce0a167 | |
parent | e48b3deee475134585eed03e7afebe4bf9e0dba9 [diff] |
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>