aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/g_NCR5380_mmio.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@engr.sgi.com>2006-03-22 00:09:06 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-22 07:54:05 -0800
commitaab2207cf8d9c343b6b5f0e4d27e1732f8618d14 (patch)
treedeb851a556ac7d2339a5bc83985a33fe126321ee /drivers/scsi/g_NCR5380_mmio.c
parent35386e3b0f876bf194982f48f027af0c216499ce (diff)
[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 <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/g_NCR5380_mmio.c')
0 files changed, 0 insertions, 0 deletions