diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-12-03 12:09:33 -0500 |
---|---|---|
committer | Matthew Wilcox <matthew@wil.cx> | 2007-12-04 10:39:56 -0500 |
commit | 2cae367e4854ff055c4f5e8aacd56b0eeec9f6cb (patch) | |
tree | c28ffa400a5fc78becc9d75cdccb126fc9138ff2 /mm/page_isolation.c | |
parent | e87aa773747fb5e4217d716ea22a573c03b6693a (diff) | |
download | talos-op-linux-2cae367e4854ff055c4f5e8aacd56b0eeec9f6cb.tar.gz talos-op-linux-2cae367e4854ff055c4f5e8aacd56b0eeec9f6cb.zip |
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>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions