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-02-16 12:47:44 -08:00
2006-01-31 14:39:50 -06:00
2005-04-16 15:20:36 -07:00
2006-01-09 13:56:42 +00:00
2005-07-27 16:26:08 -07:00
2006-01-26 08:10:08 -05:00
2006-01-12 11:36:37 -06:00
2006-02-27 21:36:46 -06:00
2006-03-05 08:00:47 -06:00
2006-02-07 10:54:07 -06:00
2006-02-28 09:36:14 -06:00
2006-01-01 22:21:50 +01:00
2006-02-05 17:15:15 -06:00
2006-01-14 10:55:12 -06:00
2006-01-14 10:55:12 -06:00
2006-01-14 10:55:12 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-12-15 18:41:27 -08:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-12-15 18:41:27 -08:00
2005-12-16 09:51:01 -08:00
2005-04-16 15:20:36 -07:00
2005-10-28 21:10:16 -05:00
2005-04-16 15:20:36 -07:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2006-02-28 11:20:45 -06:00
2006-02-28 11:20:45 -06:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2006-03-11 21:48:53 -05:00
2006-01-14 18:27:06 -08:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2006-03-05 00:36:28 -05:00
2005-11-07 07:53:41 -08:00
2005-12-15 18:41:27 -08:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-10-28 21:10:16 -05:00
2005-09-15 08:59:36 -05:00
2006-01-12 09:09:00 -08:00
2006-01-12 09:09:00 -08:00
2006-01-12 15:26:13 -06:00
2005-04-16 15:20:36 -07:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2006-01-12 11:53:11 -06:00
2005-12-15 18:41:13 -08:00
2006-01-12 09:09:00 -08:00
2006-01-12 09:09:00 -08:00
2006-01-26 08:11:13 -05:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-06-17 12:04:45 -05:00
2006-01-14 10:54:54 -06:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-10-28 21:04:15 -05:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:54:01 -08:00
2006-02-22 14:35:52 -08:00
2005-04-16 15:20:36 -07:00
2006-01-12 09:09:00 -08:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:44:09 -05:00
2005-10-28 21:10:16 -05:00
2005-04-16 15:20:36 -07:00
2006-01-15 02:12:54 +01:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2006-02-05 12:59:29 -06:00
2005-11-09 15:48:20 -05:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2006-01-12 11:53:11 -06:00
2005-04-16 15:20:36 -07:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2006-02-01 08:53:09 -08:00
2005-10-28 21:10:16 -05:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-07-27 16:26:08 -07:00
2005-06-25 16:25:00 -07:00
2006-02-12 11:05:44 -06:00
2006-02-12 11:05:44 -06:00
2006-01-31 14:43:18 -06:00
2005-11-10 08:29:07 -06:00
2006-03-22 07:53:59 -08:00
2006-02-04 16:19:08 -06:00
2006-02-28 09:36:11 -06:00
2006-03-20 20:21:24 +01:00
2005-10-21 22:57:43 -04:00
2006-02-09 05:15:27 -05:00
2006-03-16 19:22:57 -05:00
2006-03-11 17:57:20 -05:00
2006-03-11 17:57:20 -05:00
2006-02-07 20:57:14 -05:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-06-17 12:04:45 -05:00
2006-02-09 05:15:27 -05:00
2005-11-09 15:44:09 -05:00
2006-02-12 11:11:09 -06:00
2006-02-12 11:11:09 -06:00
2006-01-09 14:53:55 +11:00
2005-04-16 15:20:36 -07:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2005-11-10 08:29:07 -06:00
2005-11-09 15:44:09 -05:00
2005-12-16 10:53:47 -08:00
2005-12-16 10:53:47 -08:00
2005-11-09 15:44:09 -05:00
2006-01-12 09:09:05 -08:00
2005-11-09 15:48:20 -05:00
2005-12-15 18:41:27 -08:00
2005-06-17 12:04:45 -05:00
2005-04-16 20:09:43 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-11-09 07:55:57 -08:00
2006-01-12 09:09:00 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:53:59 -08:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-10 08:29:07 -06:00
2006-02-12 14:36:30 -05:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:48:20 -05:00
2005-10-28 21:10:16 -05:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2006-01-26 08:08:26 -05:00
2005-08-02 11:43:52 -05:00
2005-10-28 21:10:16 -05:00
2005-06-17 12:04:45 -05:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-10-14 13:44:32 -07:00
2005-04-16 15:20:36 -07:00
2006-01-12 11:35:15 -06:00
2006-03-20 19:49:54 -05:00
2006-02-12 14:36:30 -05:00
2006-03-04 12:20:06 -05:00
2005-08-28 20:18:39 -04:00
2006-02-20 16:55:56 -05:00
2006-03-11 19:29:42 -05:00
2006-03-05 02:39:55 -05:00
2006-02-12 14:36:30 -05:00
2006-02-12 14:36:30 -05:00
2006-02-12 14:36:30 -05:00
2006-02-12 14:36:30 -05:00
2006-02-12 14:36:30 -05:00
2006-02-20 02:16:23 -05:00
2005-04-16 15:20:36 -07:00
2006-01-13 11:26:10 -08:00
2005-04-16 15:20:36 -07:00
2006-03-02 22:44:06 -06:00
2006-03-01 14:45:47 -05:00
2005-10-28 17:41:39 -05:00
2006-02-27 21:38:39 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-14 10:55:05 -06:00
2006-01-14 10:55:05 -06:00
2006-02-27 21:26:45 -06:00
2005-04-16 15:20:36 -07:00
2006-02-14 11:15:11 -06:00
2006-03-09 11:00:59 -05:00
2006-02-07 20:58:21 -05:00
2006-01-31 14:39:36 -06:00
2006-01-14 10:55:01 -06:00
2005-11-09 15:48:20 -05:00
2006-02-05 11:06:51 -08:00
2005-04-18 13:49:58 -05:00
2005-04-16 15:20:36 -07:00
2006-02-26 09:09:49 -08:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2006-02-27 21:25:40 -06:00
2005-11-10 08:29:07 -06:00
2005-04-16 20:09:43 -05:00
2006-03-06 17:41:44 -08:00
2005-12-17 10:50:23 -06:00
2006-01-14 18:27:06 -08:00
2005-08-28 11:14:12 -05:00
2005-04-16 15:20:36 -07:00
2006-01-26 15:13:50 -05:00
2005-12-14 19:16:31 -08:00
2005-12-15 18:41:27 -08:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-10-28 21:04:15 -05:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2006-01-12 09:09:04 -08:00
2005-04-16 15:20:36 -07:00
2005-06-17 12:05:18 -05:00
2005-10-21 22:36:40 -04:00