Christoph Lameter ed11d9eb22 [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>
2006-06-30 11:25:36 -07:00
..
2006-03-31 12:18:54 -08:00
2006-06-30 11:25:36 -07:00
2006-06-30 11:25:36 -07:00
2006-01-11 18:42:13 -08:00
2006-03-27 08:44:48 -08:00
2006-06-23 17:10:39 +02:00
2006-06-30 11:25:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 18:35:02 +02:00
2006-06-30 11:25:36 -07:00
2006-06-27 17:32:39 -07:00
2006-06-30 11:25:36 -07:00
2006-06-30 11:25:36 -07:00
2006-06-30 11:25:36 -07:00