Add down_timeout and change ACPI to use it
authorMatthew Wilcox <matthew@wil.cx>
Fri, 14 Mar 2008 17:43:13 +0000 (13:43 -0400)
committerMatthew Wilcox <willy@linux.intel.com>
Thu, 17 Apr 2008 14:42:46 +0000 (10:42 -0400)
ACPI currently emulates a timeout for semaphores with calls to
down_trylock and sleep.  This produces horrible behaviour in terms of
fairness and excessive wakeups.  Now that we have a unified semaphore
implementation, adding a real down_trylock is almost trivial.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>

No differences found