Re: [PATCH 1/4] Avoid taking waitqueue lock in dmapool

From: David Miller
Date: Wed Sep 26 2007 - 17:10:24 EST

From: Matthew Wilcox <willy@xxxxxxxxxxxxxxx>
Date: Wed, 26 Sep 2007 15:01:16 -0400

> 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@xxxxxxxxxxxxxxx>

This one looks good to me:

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at