From: Benjamin LaHaise Date: Thu, 23 Jun 2005 07:10:01 +0000 (-0700) Subject: [PATCH] mempool - only init waitqueue in slow path X-Git-Tag: v2.6.13-rc1~68^2~415 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01890a4c120f68366441bf5e193d1b9dd543d4d0;p=pandora-kernel.git [PATCH] mempool - only init waitqueue in slow path Here's a small patch to improve the performance of mempool_alloc by only initializing the wait queue when we're about to wait. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed