Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Acked-by: David S. Miller <[email protected]>
- Loading branch information