Christoph Lameter
2e892f43cc
[PATCH] Cleanup slab headers / API to allow easy addition of new slab allocators
...
This is a response to an earlier discussion on linux-mm about splitting
slab.h components per allocator. Patch is against 2.6.19-git11. See
http://marc.theaimsgroup.com/?l=linux-mm&m=116469577431008&w=2
This patch cleans up the slab header definitions. We define the common
functions of slob and slab in slab.h and put the extra definitions needed
for slab's kmalloc implementations in <linux/slab_def.h>. In order to get
a greater set of common functions we add several empty functions to slob.c
and also rename slob's kmalloc to __kmalloc.
Slob does not need any special definitions since we introduce a fallback
case. If there is no need for a slab implementation to provide its own
kmalloc mess^H^H^Hacros then we simply fall back to __kmalloc functions.
That is sufficient for SLOB.
Sort the function in slab.h according to their functionality. First the
functions operating on struct kmem_cache * then the kmalloc related
functions followed by special debug and fallback definitions.
Also redo a lot of comments.
Signed-off-by: Christoph Lameter <clameter@sgi.com >?
Signed-off-by: Andrew Morton <akpm@osdl.org >
Signed-off-by: Linus Torvalds <torvalds@osdl.org >
2006-12-13 09:05:49 -08:00
..
2006-12-08 08:28:47 -08:00
2006-12-06 18:39:04 -08:00
2006-12-10 09:57:20 -08:00
2006-12-07 16:35:17 -05:00
2006-12-08 08:28:57 -08:00
2006-12-07 08:39:46 -08:00
2006-12-06 20:14:22 -08:00
2006-12-08 08:28:39 -08:00
2006-12-12 10:22:23 +01:00
2006-12-07 08:39:37 -08:00
2006-12-07 08:39:20 -08:00
2006-12-08 08:28:39 -08:00
2006-12-07 08:39:30 -08:00
2006-12-07 08:39:32 -08:00
2006-12-10 09:57:22 -08:00
2006-12-12 19:28:50 +01:00
2006-12-12 20:05:50 +01:00
2006-12-07 08:59:11 -08:00
2006-12-07 08:39:46 -08:00
2006-12-08 08:28:39 -08:00
2006-12-06 18:38:54 -08:00
2006-12-11 14:35:00 -08:00
2006-12-07 08:39:43 -08:00
2006-12-07 08:39:25 -08:00
2006-12-08 08:29:09 -08:00
2006-12-07 08:39:22 -08:00
2006-12-08 08:29:09 -08:00
2006-12-07 02:14:11 +01:00
2006-12-07 08:39:48 -08:00
2006-12-07 08:39:35 -08:00
2006-12-07 08:39:35 -08:00
2006-12-08 08:29:03 -08:00
2006-12-08 08:29:05 -08:00
2006-12-10 09:57:22 -08:00
2006-12-10 09:55:40 -08:00
2006-12-08 08:28:40 -08:00
2006-12-07 08:39:23 -08:00
2006-12-08 08:28:41 -08:00
2006-12-10 23:26:16 -06:00
2006-12-08 08:28:41 -08:00
2006-12-07 08:39:32 -08:00
2006-12-10 09:55:41 -08:00
2006-12-08 08:28:57 -08:00
2006-12-06 18:38:41 -08:00
2006-12-08 08:29:02 -08:00
2006-12-07 08:39:21 -08:00
2006-12-08 10:43:01 -08:00
2006-12-08 10:43:19 -08:00
2006-12-07 08:39:21 -08:00
2006-12-07 08:39:21 -08:00
2006-12-10 21:21:33 +01:00
2006-12-10 21:21:33 +01:00
2006-12-10 21:21:33 +01:00
2006-12-10 21:21:33 +01:00
2006-12-12 09:57:55 -08:00
2006-12-10 21:21:29 +01:00
2006-12-10 21:21:31 +01:00
2006-12-07 08:39:40 -08:00
2006-12-12 10:22:23 +01:00
2006-12-08 17:19:33 -08:00
2006-12-08 17:19:33 -08:00
2006-12-13 09:05:47 -08:00
2006-12-11 12:12:04 -08:00
2006-12-10 09:55:42 -08:00
2006-12-07 08:39:47 -08:00
2006-12-07 08:39:47 -08:00
2006-12-07 08:39:47 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:29:00 -08:00
2006-12-07 08:39:40 -08:00
2006-12-07 08:39:40 -08:00
2006-12-10 09:55:41 -08:00
2006-12-11 11:34:11 -08:00
2006-12-07 15:39:22 -08:00
2006-12-07 08:39:38 -08:00
2006-12-07 08:39:37 -08:00
2006-12-10 09:57:22 -08:00
2006-12-07 08:39:39 -08:00
2006-12-08 08:28:51 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:46 -08:00
2006-12-08 08:28:51 -08:00
2006-12-08 08:28:39 -08:00
2006-12-07 08:39:34 -08:00
2006-12-08 08:28:51 -08:00
2006-12-07 08:39:38 -08:00
2006-12-08 08:28:39 -08:00
2006-12-08 08:28:40 -08:00
2006-12-07 08:39:47 -08:00
2006-12-08 17:19:29 -08:00
2006-12-07 02:14:01 +01:00
2006-12-13 09:05:47 -08:00
2006-12-08 08:28:53 -08:00
2006-12-06 18:38:51 -08:00
2006-12-08 08:28:52 -08:00
2006-12-08 08:28:52 -08:00
2006-12-13 09:05:48 -08:00
2006-12-08 08:28:38 -08:00
2006-12-07 08:39:36 -08:00
2006-12-07 08:39:44 -08:00
2006-12-07 08:39:25 -08:00
2006-12-08 08:28:40 -08:00
2006-12-07 08:39:46 -08:00
2006-12-07 08:39:25 -08:00
2006-12-10 09:55:40 -08:00
2006-12-07 08:39:36 -08:00
2006-12-08 17:19:27 -08:00
2006-12-07 08:39:36 -08:00
2006-12-10 09:55:43 -08:00
2006-12-07 02:14:04 +01:00
2006-12-07 08:39:46 -08:00
2006-12-12 08:10:44 -08:00
2006-12-07 08:39:35 -08:00
2006-12-08 08:28:57 -08:00
2006-12-07 08:39:22 -08:00
2006-12-07 08:39:25 -08:00
2006-12-13 09:05:49 -08:00
2006-12-13 09:05:49 -08:00
2006-12-07 08:39:38 -08:00
2006-12-07 08:39:20 -08:00
2006-12-08 08:28:59 -08:00
2006-12-07 02:14:08 +01:00
2006-12-07 08:39:27 -08:00
2006-12-07 08:39:27 -08:00
2006-12-12 19:23:02 +01:00
2006-12-10 09:55:41 -08:00
2006-12-10 09:55:41 -08:00
2006-12-07 08:39:34 -08:00
2006-12-10 09:55:41 -08:00
2006-12-11 14:34:42 -08:00
2006-12-10 09:57:22 -08:00
2006-12-10 09:55:43 -08:00
2006-12-08 08:28:56 -08:00
2006-12-08 08:28:56 -08:00
2006-12-08 08:28:56 -08:00
2006-12-07 08:59:11 -08:00
2006-12-10 08:51:12 -02:00
2006-12-07 09:28:19 -08:00
2006-12-08 17:19:30 -08:00