commit | 2cae367e4854ff055c4f5e8aacd56b0eeec9f6cb | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew@wil.cx> | Mon Dec 03 12:09:33 2007 -0500 |
committer | Matthew Wilcox <matthew@wil.cx> | Tue Dec 04 10:39:56 2007 -0500 |
tree | c28ffa400a5fc78becc9d75cdccb126fc9138ff2 | |
parent | e87aa773747fb5e4217d716ea22a573c03b6693a [diff] |
Avoid taking waitqueue lock in dmapool With one trivial change (taking the lock slightly earlier on wakeup from schedule), all uses of the waitq are under the pool lock, so we can use the locked (or __) versions of the wait queue functions, and avoid the extra spinlock. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Acked-by: David S. Miller <davem@davemloft.net>