From: Christoph Lameter Date: Wed, 22 Mar 2006 08:09:06 +0000 (-0800) Subject: [PATCH] slab: make drain_array more universal by adding more parameters X-Git-Tag: v2.6.17-rc1~1129^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aab2207cf8d9c343b6b5f0e4d27e1732f8618d14;p=pandora-kernel.git [PATCH] slab: make drain_array more universal by adding more parameters And a parameter to drain_array to control the freeing of all objects and then use drain_array() to replace instances of drain_array_locked with drain_array. Doing so will avoid taking locks in those locations if the arrays are empty. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed