From: Matthew Wilcox Date: Mon, 3 Dec 2007 17:09:33 +0000 (-0500) Subject: Avoid taking waitqueue lock in dmapool X-Git-Tag: v2.6.25-rc1~780^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cae367e4854ff055c4f5e8aacd56b0eeec9f6cb;p=pandora-kernel.git 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 Acked-by: David S. Miller --- Reading git-diff-tree failed