diff options
author | Matthew Wilcox <[email protected]> | 2007-12-03 12:09:33 -0500 |
---|---|---|
committer | Matthew Wilcox <[email protected]> | 2007-12-04 10:39:56 -0500 |
commit | 2cae367e4854ff055c4f5e8aacd56b0eeec9f6cb (patch) | |
tree | c28ffa400a5fc78becc9d75cdccb126fc9138ff2 /net/unix/sysctl_net_unix.c | |
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 <[email protected]>
Acked-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions