Files
ubports_kernel_google_msm/include/linux
Christoph Lameter ac2b898ca6 [PATCH] slab: Remove SLAB_NO_REAP option
SLAB_NO_REAP is documented as an option that will cause this slab not to be
reaped under memory pressure.  However, that is not what happens.  The only
thing that SLAB_NO_REAP controls at the moment is the reclaim of the unused
slab elements that were allocated in batch in cache_reap().  Cache_reap()
is run every few seconds independently of memory pressure.

Could we remove the whole thing?  Its only used by three slabs anyways and
I cannot find a reason for having this option.

There is an additional problem with SLAB_NO_REAP.  If set then the recovery
of objects from alien caches is switched off.  Objects not freed on the
same node where they were initially allocated will only be reused if a
certain amount of objects accumulates from one alien node (not very likely)
or if the cache is explicitly shrunk.  (Strangely __cache_shrink does not
check for SLAB_NO_REAP)

Getting rid of SLAB_NO_REAP fixes the problems with alien cache freeing.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Mark Fasheh <mark.fasheh@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-22 07:53:59 -08:00
..
2006-01-08 20:14:02 -08:00
2006-03-21 08:52:18 -08:00
2006-02-22 09:32:46 +00:00
2006-01-18 19:20:24 -08:00
2006-01-13 16:29:56 -08:00
2006-03-20 22:35:41 -08:00
2005-11-13 18:14:17 -08:00
2005-10-28 08:16:49 -07:00
2006-01-13 09:12:21 -08:00
2005-10-04 13:22:01 -07:00
2006-02-03 08:32:00 -08:00
2006-03-09 19:47:37 -08:00
2006-02-11 21:41:11 -08:00
2006-01-08 20:14:02 -08:00
2006-03-20 13:42:59 -08:00
2006-01-14 18:27:10 -08:00
2006-01-08 20:13:49 -08:00
2005-11-05 21:00:02 -05:00
2006-01-18 19:20:29 -08:00
2006-03-08 14:14:01 -08:00
2005-10-30 17:37:32 -08:00
2005-11-10 02:26:41 +01:00
2006-01-14 18:27:09 -08:00
2005-11-08 17:14:08 +01:00
2005-11-08 09:40:47 -08:00
2006-03-20 17:09:11 -08:00
2006-03-20 22:41:23 -08:00
2006-01-06 13:24:54 -08:00
2006-02-01 08:53:13 -08:00
2006-02-08 01:03:52 -05:00
2006-01-06 13:24:29 -08:00
2006-03-20 22:21:10 -08:00
2006-01-06 08:33:53 -08:00
2005-11-07 14:18:56 +01:00
2006-02-10 08:13:12 -08:00
2005-10-08 15:00:57 -07:00
2006-03-20 13:42:59 -08:00
2005-10-30 17:37:17 -08:00
2005-10-28 08:16:47 -07:00
2006-03-22 07:53:57 -08:00
2006-03-22 07:53:57 -08:00
2006-01-08 20:13:46 -08:00
2006-01-18 19:20:29 -08:00
2006-01-06 08:33:20 -08:00
2006-01-14 18:27:12 -08:00
2006-03-20 22:32:28 -08:00
2005-11-13 18:14:12 -08:00
2006-03-08 14:14:01 -08:00
2006-01-15 02:12:54 +01:00
2006-03-08 14:14:01 -08:00
2005-11-07 07:53:46 -08:00
2006-03-22 07:53:55 -08:00
2005-10-30 11:14:39 +11:00
2006-01-10 08:01:42 -08:00
2006-01-08 20:14:02 -08:00
2006-03-20 22:41:23 -08:00
2005-11-07 07:53:41 -08:00
2005-10-30 17:37:32 -08:00
2005-11-07 07:53:37 -08:00
2006-01-14 18:27:13 -08:00
2006-02-07 20:56:35 -05:00
2006-03-20 22:41:23 -08:00
2006-01-08 20:13:45 -08:00
2006-02-24 14:31:39 -08:00
2005-10-30 17:37:32 -08:00
2006-02-11 21:41:11 -08:00
2006-01-12 14:06:38 -08:00
2006-01-18 19:20:17 -08:00
2006-02-10 08:13:12 -08:00
2006-01-10 08:01:59 -08:00
2006-02-10 08:13:12 -08:00
2006-02-01 08:53:13 -08:00
2006-03-21 08:52:18 -08:00
2005-10-29 21:40:35 -07:00
2005-11-07 07:53:41 -08:00
2006-01-08 20:12:40 -08:00
2006-01-10 08:01:57 -08:00