summaryrefslogtreecommitdiffstats
path: root/security/dummy.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2006-06-30 01:55:45 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-30 11:25:36 -0700
commited11d9eb2228acc483c819ab353e3c41bcb158fa (patch)
treefa6efec62228835be260ac55d9dd0480a9064c8a /security/dummy.c
parentf8891e5e1f93a128c3900f82035e8541357896a7 (diff)
downloadlinux-ed11d9eb2228acc483c819ab353e3c41bcb158fa.tar.gz
linux-ed11d9eb2228acc483c819ab353e3c41bcb158fa.tar.bz2
linux-ed11d9eb2228acc483c819ab353e3c41bcb158fa.zip
[PATCH] slab: consolidate code to free slabs from freelist
Post and discussion: http://marc.theaimsgroup.com/?t=115074342800003&r=1&w=2 Code in __shrink_node() duplicates code in cache_reap() Add a new function drain_freelist that removes slabs with objects that are already free and use that in various places. This eliminates the __node_shrink() function and provides the interrupt holdoff reduction from slab_free to code that used to call __node_shrink. [akpm@osdl.org: build fixes] Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/dummy.c')
0 files changed, 0 insertions, 0 deletions