commit | f1241c87a16c4fe9f4f51d6ed3589f031c505e8d | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew@wil.cx> | Fri Mar 14 13:43:13 2008 -0400 |
committer | Matthew Wilcox <willy@linux.intel.com> | Thu Apr 17 10:42:46 2008 -0400 |
tree | 2e0ee0f2b864c89eda9067bda0d8a98596e022e7 | |
parent | f06d96865861c3dd01520f47e2e61c899db1631f [diff] |
Add down_timeout and change ACPI to use it 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>