diff options
author | Christoph Lameter <clameter@engr.sgi.com> | 2006-03-22 00:09:06 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 07:54:05 -0800 |
commit | aab2207cf8d9c343b6b5f0e4d27e1732f8618d14 (patch) | |
tree | deb851a556ac7d2339a5bc83985a33fe126321ee /mm/truncate.c | |
parent | 35386e3b0f876bf194982f48f027af0c216499ce (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 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions