* [RFC 0/7] Remove slab cache declarations in slab.h
@ 2006-11-18 5:43 Christoph Lameter
2006-11-18 5:43 ` [RFC 1/7] Remove declaration of sighand_cachep from slab.h Christoph Lameter
` (6 more replies)
0 siblings, 7 replies; 20+ messages in thread
From: Christoph Lameter @ 2006-11-18 5:43 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-mm, Manfred Spraul, Christoph Lameter, Pekka Enberg
One of the strange issues in include/linux/slab.h that it contains
a list of global slab caches. The following patches remove all the global
definitions from slab.h and find other ways of defining these caches.
6 of the 7 defined caches are rarely used. One is never used.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 20+ messages in thread* [RFC 1/7] Remove declaration of sighand_cachep from slab.h 2006-11-18 5:43 [RFC 0/7] Remove slab cache declarations in slab.h Christoph Lameter @ 2006-11-18 5:43 ` Christoph Lameter 2006-11-18 6:27 ` Stephen Rothwell 2006-11-18 5:43 ` [RFC 2/7] Remove bio_cachep " Christoph Lameter ` (5 subsequent siblings) 6 siblings, 1 reply; 20+ messages in thread From: Christoph Lameter @ 2006-11-18 5:43 UTC (permalink / raw) To: linux-kernel; +Cc: linux-mm, Pekka Enberg, Christoph Lameter, Manfred Spraul Remove declaration of sighand_cachep from slab.h The sighand cache is only used in fs/exec.c and kernel/fork.c. It is defined in kernel/fork.c but also used in fs/exec.c. So add an extern declaration to fs/exec.c and remove the definition from slab.h. Signed-off-by: Christoph Lameter <clameter@sgi.com> Index: linux-2.6.19-rc5-mm2/fs/exec.c =================================================================== --- linux-2.6.19-rc5-mm2.orig/fs/exec.c 2006-11-15 16:47:59.065579813 -0600 +++ linux-2.6.19-rc5-mm2/fs/exec.c 2006-11-17 23:03:46.049603927 -0600 @@ -62,6 +62,8 @@ int core_uses_pid; char core_pattern[128] = "core"; int suid_dumpable = 0; +extern kmem_cache_t *sighand_cachep; + EXPORT_SYMBOL(suid_dumpable); /* The maximal length of core_pattern is also specified in sysctl.c */ Index: linux-2.6.19-rc5-mm2/include/linux/slab.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/slab.h 2006-11-17 23:02:21.371436329 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/slab.h 2006-11-17 23:03:46.114062585 -0600 @@ -302,7 +302,6 @@ extern kmem_cache_t *names_cachep; extern kmem_cache_t *files_cachep; extern kmem_cache_t *filp_cachep; extern kmem_cache_t *fs_cachep; -extern kmem_cache_t *sighand_cachep; extern kmem_cache_t *bio_cachep; #endif /* __KERNEL__ */ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 1/7] Remove declaration of sighand_cachep from slab.h 2006-11-18 5:43 ` [RFC 1/7] Remove declaration of sighand_cachep from slab.h Christoph Lameter @ 2006-11-18 6:27 ` Stephen Rothwell 2006-11-20 16:20 ` Christoph Lameter 0 siblings, 1 reply; 20+ messages in thread From: Stephen Rothwell @ 2006-11-18 6:27 UTC (permalink / raw) To: Christoph Lameter; +Cc: linux-kernel, linux-mm, Pekka Enberg, Manfred Spraul [-- Attachment #1: Type: text/plain, Size: 964 bytes --] On Fri, 17 Nov 2006 21:43:47 -0800 (PST) Christoph Lameter <clameter@sgi.com> wrote: > > Remove declaration of sighand_cachep from slab.h > > The sighand cache is only used in fs/exec.c and kernel/fork.c. It is defined > in kernel/fork.c but also used in fs/exec.c. So add an extern declaration to > fs/exec.c and remove the definition from slab.h. > > Signed-off-by: Christoph Lameter <clameter@sgi.com> > > Index: linux-2.6.19-rc5-mm2/fs/exec.c > =================================================================== > --- linux-2.6.19-rc5-mm2.orig/fs/exec.c 2006-11-15 16:47:59.065579813 -0600 > +++ linux-2.6.19-rc5-mm2/fs/exec.c 2006-11-17 23:03:46.049603927 -0600 > @@ -62,6 +62,8 @@ int core_uses_pid; > char core_pattern[128] = "core"; > int suid_dumpable = 0; > > +extern kmem_cache_t *sighand_cachep; Is there no suitable header file to put this in? -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 1/7] Remove declaration of sighand_cachep from slab.h 2006-11-18 6:27 ` Stephen Rothwell @ 2006-11-20 16:20 ` Christoph Lameter 2006-11-21 8:07 ` Andrew Morton 0 siblings, 1 reply; 20+ messages in thread From: Christoph Lameter @ 2006-11-20 16:20 UTC (permalink / raw) To: Stephen Rothwell; +Cc: linux-kernel, linux-mm, Pekka Enberg, Manfred Spraul On Sat, 18 Nov 2006, Stephen Rothwell wrote: > Is there no suitable header file to put this in? There is only a single file that uses sighand_cachep apart from where it was defined. If we would add it to signal.h then we would also have to add an include for slab.h just for this statement. I cannot imagine any reason why one would have to use sighand_cachep outside of those two files. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 1/7] Remove declaration of sighand_cachep from slab.h 2006-11-20 16:20 ` Christoph Lameter @ 2006-11-21 8:07 ` Andrew Morton 2006-11-21 19:36 ` Christoph Lameter 0 siblings, 1 reply; 20+ messages in thread From: Andrew Morton @ 2006-11-21 8:07 UTC (permalink / raw) To: Christoph Lameter Cc: Stephen Rothwell, linux-kernel, linux-mm, Pekka Enberg, Manfred Spraul On Mon, 20 Nov 2006 08:20:13 -0800 (PST) Christoph Lameter <clameter@sgi.com> wrote: > On Sat, 18 Nov 2006, Stephen Rothwell wrote: > > > Is there no suitable header file to put this in? > > There is only a single file that uses sighand_cachep apart from where it > was defined. If we would add it to signal.h then we would also have to > add an include for slab.h just for this statement. That's one of the reasons why typedefs are bad. Use `struct kmem_cache' instead of `kmem_cache_t' and lo, you can forward-declare it in the header file without having to include slab.h. Patches which rid us of kmem_cache_t are always welcome.. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 1/7] Remove declaration of sighand_cachep from slab.h 2006-11-21 8:07 ` Andrew Morton @ 2006-11-21 19:36 ` Christoph Lameter 2006-11-21 19:49 ` Andrew Morton 0 siblings, 1 reply; 20+ messages in thread From: Christoph Lameter @ 2006-11-21 19:36 UTC (permalink / raw) To: Andrew Morton Cc: Stephen Rothwell, linux-kernel, linux-mm, Pekka Enberg, Manfred Spraul On Tue, 21 Nov 2006, Andrew Morton wrote: > Use `struct kmem_cache' instead of `kmem_cache_t' and lo, you can > forward-declare it in the header file without having to include slab.h. > > Patches which rid us of kmem_cache_t are always welcome.. Ok. So this patch would be acceptable? Remore kmem_cache_t from mm. This patch removed all uses of kmem_cache_t from the code in mm/*. The typedef is replaced with a define to allow other code to compile. Signed-off-by: Christophh Lameter <clameter@sgi.com> Index: linux-2.6.19-rc5-mm2/include/linux/slab.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/slab.h 2006-11-17 23:19:18.000000000 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/slab.h 2006-11-21 13:25:40.094576808 -0600 @@ -9,7 +9,8 @@ #if defined(__KERNEL__) -typedef struct kmem_cache kmem_cache_t; +/* Remove this after all occurrences of kmem_cache_t have been removed */ +#define kmem_cache_t struct kmem_cache #include <linux/gfp.h> #include <linux/init.h> @@ -57,23 +58,24 @@ typedef struct kmem_cache kmem_cache_t; /* prototypes */ extern void __init kmem_cache_init(void); -extern kmem_cache_t *kmem_cache_create(const char *, size_t, size_t, unsigned long, - void (*)(void *, kmem_cache_t *, unsigned long), - void (*)(void *, kmem_cache_t *, unsigned long)); -extern void kmem_cache_destroy(kmem_cache_t *); -extern int kmem_cache_shrink(kmem_cache_t *); -extern void *kmem_cache_alloc(kmem_cache_t *, gfp_t); +extern struct kmem_cache *kmem_cache_create(const char *, + size_t, size_t, unsigned long, + void (*)(void *, struct kmem_cache *, unsigned long), + void (*)(void *, struct kmem_cache *, unsigned long)); +extern void kmem_cache_destroy(struct kmem_cache *); +extern int kmem_cache_shrink(struct kmem_cache *); +extern void *kmem_cache_alloc(struct kmem_cache *, gfp_t); extern void *kmem_cache_zalloc(struct kmem_cache *, gfp_t); -extern void kmem_cache_free(kmem_cache_t *, void *); -extern unsigned int kmem_cache_size(kmem_cache_t *); -extern const char *kmem_cache_name(kmem_cache_t *); +extern void kmem_cache_free(struct kmem_cache *, void *); +extern unsigned int kmem_cache_size(struct kmem_cache *); +extern const char *kmem_cache_name(struct kmem_cache *); /* Size description struct for general caches. */ struct cache_sizes { size_t cs_size; - kmem_cache_t *cs_cachep; + struct kmem_cache *cs_cachep; #ifdef CONFIG_ZONE_DMA - kmem_cache_t *cs_dmacachep; + struct kmem_cache *cs_dmacachep; #else #define cs_dmacachep cs_cachep #endif @@ -215,7 +217,7 @@ extern unsigned int ksize(const void *); extern int slab_is_available(void); #ifdef CONFIG_NUMA -extern void *kmem_cache_alloc_node(kmem_cache_t *, gfp_t flags, int node); +extern void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node); extern void *__kmalloc_node(size_t size, gfp_t flags, int node); static inline void *kmalloc_node(size_t size, gfp_t flags, int node) @@ -241,7 +243,8 @@ found: return __kmalloc_node(size, flags, node); } #else -static inline void *kmem_cache_alloc_node(kmem_cache_t *cachep, gfp_t flags, int node) +static inline void *kmem_cache_alloc_node(struct kmem_cache *cachep, + gfp_t flags, int node) { return kmem_cache_alloc(cachep, flags); } @@ -252,10 +255,11 @@ static inline void *kmalloc_node(size_t #endif extern int FASTCALL(kmem_cache_reap(int)); -extern int FASTCALL(kmem_ptr_validate(kmem_cache_t *cachep, void *ptr)); +extern int FASTCALL(kmem_ptr_validate(struct kmem_cache *cachep, void *ptr)); struct shrinker; -extern void kmem_set_shrinker(kmem_cache_t *cachep, struct shrinker *shrinker); +extern void kmem_set_shrinker(struct kmem_cache *cachep, + struct shrinker *shrinker); #else /* CONFIG_SLOB */ @@ -291,19 +295,19 @@ static inline void *kcalloc(size_t n, si #define kmalloc_track_caller kmalloc struct shrinker; -static inline void kmem_set_shrinker(kmem_cache_t *cachep, +static inline void kmem_set_shrinker(struct kmem_cache *cachep, struct shrinker *shrinker) {} #endif /* CONFIG_SLOB */ /* System wide caches */ -extern kmem_cache_t *vm_area_cachep; -extern kmem_cache_t *names_cachep; -extern kmem_cache_t *files_cachep; -extern kmem_cache_t *filp_cachep; -extern kmem_cache_t *fs_cachep; -extern kmem_cache_t *sighand_cachep; -extern kmem_cache_t *bio_cachep; +extern struct kmem_cache *vm_area_cachep; +extern struct kmem_cache *names_cachep; +extern struct kmem_cache *files_cachep; +extern struct kmem_cache *filp_cachep; +extern struct kmem_cache *fs_cachep; +extern struct kmem_cache *sighand_cachep; +extern struct kmem_cache *bio_cachep; #endif /* __KERNEL__ */ Index: linux-2.6.19-rc5-mm2/mm/slab.c =================================================================== --- linux-2.6.19-rc5-mm2.orig/mm/slab.c 2006-11-15 16:48:13.000000000 -0600 +++ linux-2.6.19-rc5-mm2/mm/slab.c 2006-11-21 13:21:50.009874395 -0600 @@ -4393,7 +4393,7 @@ unsigned int ksize(const void *objp) return obj_size(virt_to_cache(objp)); } -void kmem_set_shrinker(kmem_cache_t *cachep, struct shrinker *shrinker) +void kmem_set_shrinker(struct kmem_cache *cachep, struct shrinker *shrinker) { cachep->shrinker = shrinker; } Index: linux-2.6.19-rc5-mm2/mm/swap_prefetch.c =================================================================== --- linux-2.6.19-rc5-mm2.orig/mm/swap_prefetch.c 2006-11-15 16:48:13.000000000 -0600 +++ linux-2.6.19-rc5-mm2/mm/swap_prefetch.c 2006-11-21 13:22:56.496196955 -0600 @@ -39,7 +39,7 @@ struct swapped_root { struct radix_tree_root swap_tree; /* Lookup tree of pages */ unsigned int count; /* Number of entries */ unsigned int maxcount; /* Maximum entries allowed */ - kmem_cache_t *cache; /* Of struct swapped_entry */ + struct kmem_cache *cache; /* Of struct swapped_entry */ }; static struct swapped_root swapped = { -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 1/7] Remove declaration of sighand_cachep from slab.h 2006-11-21 19:36 ` Christoph Lameter @ 2006-11-21 19:49 ` Andrew Morton 2006-11-21 19:56 ` Christoph Lameter 0 siblings, 1 reply; 20+ messages in thread From: Andrew Morton @ 2006-11-21 19:49 UTC (permalink / raw) To: Christoph Lameter Cc: Stephen Rothwell, linux-kernel, linux-mm, Pekka Enberg, Manfred Spraul On Tue, 21 Nov 2006 11:36:19 -0800 (PST) Christoph Lameter <clameter@sgi.com> wrote: > On Tue, 21 Nov 2006, Andrew Morton wrote: > > > Use `struct kmem_cache' instead of `kmem_cache_t' and lo, you can > > forward-declare it in the header file without having to include slab.h. > > > > Patches which rid us of kmem_cache_t are always welcome.. > > Ok. So this patch would be acceptable? > > > Remore kmem_cache_t from mm. > > This patch removed all uses of kmem_cache_t from the code in mm/*. > The typedef is replaced with a define to allow other code to compile. > spose so, although I wouldn't bother about the typedef->#define change. We just keep on plugging away at it until one day we can just remove the typedef. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 1/7] Remove declaration of sighand_cachep from slab.h 2006-11-21 19:49 ` Andrew Morton @ 2006-11-21 19:56 ` Christoph Lameter 2006-11-21 20:07 ` Andrew Morton 0 siblings, 1 reply; 20+ messages in thread From: Christoph Lameter @ 2006-11-21 19:56 UTC (permalink / raw) To: Andrew Morton Cc: Stephen Rothwell, linux-kernel, linux-mm, Pekka Enberg, Manfred Spraul On Tue, 21 Nov 2006, Andrew Morton wrote: > spose so, although I wouldn't bother about the typedef->#define change. > We just keep on plugging away at it until one day we can just remove the typedef. You do have script that can replace a string throughout the kernel right? A patch is following that does the core things in mm and include/linux/slab.h. Would you accept that patch and then do s/kmem_cache_t/struct kmem_cache/g over all the kernel sources? There would be some oversized lines but otherwise this should work. Remove kmem_cache_t Remove kmem_cache_t from mm. Signed-off-by: Christoph Lameter <clameter@sgi.com> Index: linux-2.6.19-rc5-mm2/include/linux/slab.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/slab.h 2006-11-17 23:19:18.000000000 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/slab.h 2006-11-21 13:53:51.679727359 -0600 @@ -9,8 +9,6 @@ #if defined(__KERNEL__) -typedef struct kmem_cache kmem_cache_t; - #include <linux/gfp.h> #include <linux/init.h> #include <linux/types.h> @@ -57,23 +55,24 @@ typedef struct kmem_cache kmem_cache_t; /* prototypes */ extern void __init kmem_cache_init(void); -extern kmem_cache_t *kmem_cache_create(const char *, size_t, size_t, unsigned long, - void (*)(void *, kmem_cache_t *, unsigned long), - void (*)(void *, kmem_cache_t *, unsigned long)); -extern void kmem_cache_destroy(kmem_cache_t *); -extern int kmem_cache_shrink(kmem_cache_t *); -extern void *kmem_cache_alloc(kmem_cache_t *, gfp_t); +extern struct kmem_cache *kmem_cache_create(const char *, + size_t, size_t, unsigned long, + void (*)(void *, struct kmem_cache *, unsigned long), + void (*)(void *, struct kmem_cache *, unsigned long)); +extern void kmem_cache_destroy(struct kmem_cache *); +extern int kmem_cache_shrink(struct kmem_cache *); +extern void *kmem_cache_alloc(struct kmem_cache *, gfp_t); extern void *kmem_cache_zalloc(struct kmem_cache *, gfp_t); -extern void kmem_cache_free(kmem_cache_t *, void *); -extern unsigned int kmem_cache_size(kmem_cache_t *); -extern const char *kmem_cache_name(kmem_cache_t *); +extern void kmem_cache_free(struct kmem_cache *, void *); +extern unsigned int kmem_cache_size(struct kmem_cache *); +extern const char *kmem_cache_name(struct kmem_cache *); /* Size description struct for general caches. */ struct cache_sizes { size_t cs_size; - kmem_cache_t *cs_cachep; + struct kmem_cache *cs_cachep; #ifdef CONFIG_ZONE_DMA - kmem_cache_t *cs_dmacachep; + struct kmem_cache *cs_dmacachep; #else #define cs_dmacachep cs_cachep #endif @@ -215,7 +214,7 @@ extern unsigned int ksize(const void *); extern int slab_is_available(void); #ifdef CONFIG_NUMA -extern void *kmem_cache_alloc_node(kmem_cache_t *, gfp_t flags, int node); +extern void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node); extern void *__kmalloc_node(size_t size, gfp_t flags, int node); static inline void *kmalloc_node(size_t size, gfp_t flags, int node) @@ -241,7 +240,8 @@ found: return __kmalloc_node(size, flags, node); } #else -static inline void *kmem_cache_alloc_node(kmem_cache_t *cachep, gfp_t flags, int node) +static inline void *kmem_cache_alloc_node(struct kmem_cache *cachep, + gfp_t flags, int node) { return kmem_cache_alloc(cachep, flags); } @@ -252,10 +252,11 @@ static inline void *kmalloc_node(size_t #endif extern int FASTCALL(kmem_cache_reap(int)); -extern int FASTCALL(kmem_ptr_validate(kmem_cache_t *cachep, void *ptr)); +extern int FASTCALL(kmem_ptr_validate(struct kmem_cache *cachep, void *ptr)); struct shrinker; -extern void kmem_set_shrinker(kmem_cache_t *cachep, struct shrinker *shrinker); +extern void kmem_set_shrinker(struct kmem_cache *cachep, + struct shrinker *shrinker); #else /* CONFIG_SLOB */ @@ -291,19 +292,19 @@ static inline void *kcalloc(size_t n, si #define kmalloc_track_caller kmalloc struct shrinker; -static inline void kmem_set_shrinker(kmem_cache_t *cachep, +static inline void kmem_set_shrinker(struct kmem_cache *cachep, struct shrinker *shrinker) {} #endif /* CONFIG_SLOB */ /* System wide caches */ -extern kmem_cache_t *vm_area_cachep; -extern kmem_cache_t *names_cachep; -extern kmem_cache_t *files_cachep; -extern kmem_cache_t *filp_cachep; -extern kmem_cache_t *fs_cachep; -extern kmem_cache_t *sighand_cachep; -extern kmem_cache_t *bio_cachep; +extern struct kmem_cache *vm_area_cachep; +extern struct kmem_cache *names_cachep; +extern struct kmem_cache *files_cachep; +extern struct kmem_cache *filp_cachep; +extern struct kmem_cache *fs_cachep; +extern struct kmem_cache *sighand_cachep; +extern struct kmem_cache *bio_cachep; #endif /* __KERNEL__ */ Index: linux-2.6.19-rc5-mm2/mm/slab.c =================================================================== --- linux-2.6.19-rc5-mm2.orig/mm/slab.c 2006-11-15 16:48:13.000000000 -0600 +++ linux-2.6.19-rc5-mm2/mm/slab.c 2006-11-21 13:21:50.009874395 -0600 @@ -4393,7 +4393,7 @@ unsigned int ksize(const void *objp) return obj_size(virt_to_cache(objp)); } -void kmem_set_shrinker(kmem_cache_t *cachep, struct shrinker *shrinker) +void kmem_set_shrinker(struct kmem_cache *cachep, struct shrinker *shrinker) { cachep->shrinker = shrinker; } Index: linux-2.6.19-rc5-mm2/mm/swap_prefetch.c =================================================================== --- linux-2.6.19-rc5-mm2.orig/mm/swap_prefetch.c 2006-11-15 16:48:13.000000000 -0600 +++ linux-2.6.19-rc5-mm2/mm/swap_prefetch.c 2006-11-21 13:22:56.496196955 -0600 @@ -39,7 +39,7 @@ struct swapped_root { struct radix_tree_root swap_tree; /* Lookup tree of pages */ unsigned int count; /* Number of entries */ unsigned int maxcount; /* Maximum entries allowed */ - kmem_cache_t *cache; /* Of struct swapped_entry */ + struct kmem_cache *cache; /* Of struct swapped_entry */ }; static struct swapped_root swapped = { -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 1/7] Remove declaration of sighand_cachep from slab.h 2006-11-21 19:56 ` Christoph Lameter @ 2006-11-21 20:07 ` Andrew Morton 0 siblings, 0 replies; 20+ messages in thread From: Andrew Morton @ 2006-11-21 20:07 UTC (permalink / raw) To: Christoph Lameter Cc: Stephen Rothwell, linux-kernel, linux-mm, Pekka Enberg, Manfred Spraul On Tue, 21 Nov 2006 11:56:33 -0800 (PST) Christoph Lameter <clameter@sgi.com> wrote: > On Tue, 21 Nov 2006, Andrew Morton wrote: > > > spose so, although I wouldn't bother about the typedef->#define change. > > We just keep on plugging away at it until one day we can just remove the typedef. > > You do have script that can replace a string throughout the kernel > right? Nope. > > A patch is following that does the core things in mm and > include/linux/slab.h. Would you accept that patch and then do > > s/kmem_cache_t/struct kmem_cache/g > > over all the kernel sources? This is one of those low-priority background activities. Not worth a lot of fuss. I'd suggest that you proceeed with the original cleanups you were proposing, except use `struct kmem_cache' in header files rather than kmem_cache_t in .c files. Then, as a separate and later exercise someone (maybe you) can raise patches to do the kmem_cache_t->kmem_cache conversion. They should go through maintainers hence they should be appropriately split and they will take months to all get to mainline. Once this is all completed we can remove the typedef. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* [RFC 2/7] Remove bio_cachep from slab.h 2006-11-18 5:43 [RFC 0/7] Remove slab cache declarations in slab.h Christoph Lameter 2006-11-18 5:43 ` [RFC 1/7] Remove declaration of sighand_cachep from slab.h Christoph Lameter @ 2006-11-18 5:43 ` Christoph Lameter 2006-11-18 5:43 ` [RFC 3/7] Move vm_area_cachep to mm.h Christoph Lameter ` (4 subsequent siblings) 6 siblings, 0 replies; 20+ messages in thread From: Christoph Lameter @ 2006-11-18 5:43 UTC (permalink / raw) To: linux-kernel; +Cc: linux-mm, Manfred Spraul, Christoph Lameter, Pekka Enberg Remove bio_cachep from slab.h bio_cachep is no longer used it seems. Signed-off-by: Christoph Lameter <clameter@sgi.com> Index: linux-2.6.19-rc5-mm2/include/linux/slab.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/slab.h 2006-11-17 23:03:46.114062585 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/slab.h 2006-11-17 23:03:51.817677214 -0600 @@ -302,7 +302,6 @@ extern kmem_cache_t *names_cachep; extern kmem_cache_t *files_cachep; extern kmem_cache_t *filp_cachep; extern kmem_cache_t *fs_cachep; -extern kmem_cache_t *bio_cachep; #endif /* __KERNEL__ */ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* [RFC 3/7] Move vm_area_cachep to mm.h 2006-11-18 5:43 [RFC 0/7] Remove slab cache declarations in slab.h Christoph Lameter 2006-11-18 5:43 ` [RFC 1/7] Remove declaration of sighand_cachep from slab.h Christoph Lameter 2006-11-18 5:43 ` [RFC 2/7] Remove bio_cachep " Christoph Lameter @ 2006-11-18 5:43 ` Christoph Lameter 2006-11-18 5:44 ` [RFC 4/7] Move files_cachep to file.h Christoph Lameter ` (3 subsequent siblings) 6 siblings, 0 replies; 20+ messages in thread From: Christoph Lameter @ 2006-11-18 5:43 UTC (permalink / raw) To: linux-kernel; +Cc: linux-mm, Pekka Enberg, Christoph Lameter, Manfred Spraul Move vm_area_cachep to mm.h vm_area_cachep is used to store vm_area_structs. So move to mm.h. Signed-off-by: Christoph Lameter <clameter@sgi.com> Index: linux-2.6.19-rc5-mm2/include/linux/mm.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/mm.h 2006-11-15 16:48:09.197243479 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/mm.h 2006-11-17 23:03:55.571905748 -0600 @@ -114,6 +114,8 @@ struct vm_area_struct { #endif }; +extern kmem_cache_t *vm_area_cachep; + /* * This struct defines the per-mm list of VMAs for uClinux. If CONFIG_MMU is * disabled, then there's a single shared list of VMAs maintained by the Index: linux-2.6.19-rc5-mm2/include/linux/slab.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/slab.h 2006-11-17 23:03:51.817677214 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/slab.h 2006-11-17 23:03:55.587532089 -0600 @@ -297,7 +297,6 @@ static inline void kmem_set_shrinker(kme #endif /* CONFIG_SLOB */ /* System wide caches */ -extern kmem_cache_t *vm_area_cachep; extern kmem_cache_t *names_cachep; extern kmem_cache_t *files_cachep; extern kmem_cache_t *filp_cachep; -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* [RFC 4/7] Move files_cachep to file.h 2006-11-18 5:43 [RFC 0/7] Remove slab cache declarations in slab.h Christoph Lameter ` (2 preceding siblings ...) 2006-11-18 5:43 ` [RFC 3/7] Move vm_area_cachep to mm.h Christoph Lameter @ 2006-11-18 5:44 ` Christoph Lameter 2006-11-21 8:09 ` Andrew Morton 2006-11-18 5:44 ` [RFC 5/7] Use external declaration for filep_cachep Christoph Lameter ` (2 subsequent siblings) 6 siblings, 1 reply; 20+ messages in thread From: Christoph Lameter @ 2006-11-18 5:44 UTC (permalink / raw) To: linux-kernel; +Cc: linux-mm, Manfred Spraul, Christoph Lameter, Pekka Enberg Move files_cachep to file.h The proper place is in file.h since its related to file I/O. Signed-off-by: Christoph Lameter <clameter@sgi.com> Index: linux-2.6.19-rc5-mm2/include/linux/file.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/file.h 2006-11-15 16:48:08.583913536 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/file.h 2006-11-17 23:03:59.254839099 -0600 @@ -101,4 +101,6 @@ struct files_struct *get_files_struct(st void FASTCALL(put_files_struct(struct files_struct *fs)); void reset_files_struct(struct task_struct *, struct files_struct *); +extern kmem_cache_t *files_cachep; + #endif /* __LINUX_FILE_H */ Index: linux-2.6.19-rc5-mm2/include/linux/slab.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/slab.h 2006-11-17 23:03:55.587532089 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/slab.h 2006-11-17 23:03:59.268512148 -0600 @@ -298,7 +298,6 @@ static inline void kmem_set_shrinker(kme /* System wide caches */ extern kmem_cache_t *names_cachep; -extern kmem_cache_t *files_cachep; extern kmem_cache_t *filp_cachep; extern kmem_cache_t *fs_cachep; -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 4/7] Move files_cachep to file.h 2006-11-18 5:44 ` [RFC 4/7] Move files_cachep to file.h Christoph Lameter @ 2006-11-21 8:09 ` Andrew Morton 0 siblings, 0 replies; 20+ messages in thread From: Andrew Morton @ 2006-11-21 8:09 UTC (permalink / raw) To: Christoph Lameter; +Cc: linux-kernel, linux-mm, Manfred Spraul, Pekka Enberg On Fri, 17 Nov 2006 21:44:03 -0800 (PST) Christoph Lameter <clameter@sgi.com> wrote: > Move files_cachep to file.h > > The proper place is in file.h since its related to file I/O. > > Signed-off-by: Christoph Lameter <clameter@sgi.com> > > Index: linux-2.6.19-rc5-mm2/include/linux/file.h > =================================================================== > --- linux-2.6.19-rc5-mm2.orig/include/linux/file.h 2006-11-15 16:48:08.583913536 -0600 > +++ linux-2.6.19-rc5-mm2/include/linux/file.h 2006-11-17 23:03:59.254839099 -0600 > @@ -101,4 +101,6 @@ struct files_struct *get_files_struct(st > void FASTCALL(put_files_struct(struct files_struct *fs)); > void reset_files_struct(struct task_struct *, struct files_struct *); > > +extern kmem_cache_t *files_cachep; > + > #endif /* __LINUX_FILE_H */ > Index: linux-2.6.19-rc5-mm2/include/linux/slab.h > =================================================================== > --- linux-2.6.19-rc5-mm2.orig/include/linux/slab.h 2006-11-17 23:03:55.587532089 -0600 > +++ linux-2.6.19-rc5-mm2/include/linux/slab.h 2006-11-17 23:03:59.268512148 -0600 > @@ -298,7 +298,6 @@ static inline void kmem_set_shrinker(kme > > /* System wide caches */ > extern kmem_cache_t *names_cachep; > -extern kmem_cache_t *files_cachep; > extern kmem_cache_t *filp_cachep; > extern kmem_cache_t *fs_cachep; > Please convert to `struct kmem_cache' (all patches). -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* [RFC 5/7] Use external declaration for filep_cachep 2006-11-18 5:43 [RFC 0/7] Remove slab cache declarations in slab.h Christoph Lameter ` (3 preceding siblings ...) 2006-11-18 5:44 ` [RFC 4/7] Move files_cachep to file.h Christoph Lameter @ 2006-11-18 5:44 ` Christoph Lameter 2006-11-18 6:31 ` Stephen Rothwell 2006-11-18 5:44 ` [RFC 6/7] Use an external declaration in exit.c for fs_cachep Christoph Lameter 2006-11-18 5:44 ` [RFC 7/7] Move names_cachep to fs.h Christoph Lameter 6 siblings, 1 reply; 20+ messages in thread From: Christoph Lameter @ 2006-11-18 5:44 UTC (permalink / raw) To: linux-kernel; +Cc: linux-mm, Pekka Enberg, Christoph Lameter, Manfred Spraul Use external declaration for filep_cachep. filp_cachep is used in fs/file_table.c. Its defined in fs/dcache.c. The easiest solution here is to add an external declaration to fs/file_table.c. Signed-off-by: Christoph Lameter <clameter@sgi.com> Index: linux-2.6.19-rc5-mm2/include/linux/slab.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/slab.h 2006-11-17 23:03:59.268512148 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/slab.h 2006-11-17 23:04:05.859898302 -0600 @@ -298,7 +298,6 @@ static inline void kmem_set_shrinker(kme /* System wide caches */ extern kmem_cache_t *names_cachep; -extern kmem_cache_t *filp_cachep; extern kmem_cache_t *fs_cachep; #endif /* __KERNEL__ */ Index: linux-2.6.19-rc5-mm2/fs/file_table.c =================================================================== --- linux-2.6.19-rc5-mm2.orig/fs/file_table.c 2006-11-15 16:47:59.622264626 -0600 +++ linux-2.6.19-rc5-mm2/fs/file_table.c 2006-11-17 23:04:05.885291107 -0600 @@ -35,6 +35,8 @@ __cacheline_aligned_in_smp DEFINE_SPINLO static struct percpu_counter nr_files __cacheline_aligned_in_smp; +extern kmem_cache_t *filp_cachep; + static inline void file_free_rcu(struct rcu_head *head) { struct file *f = container_of(head, struct file, f_u.fu_rcuhead); -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 5/7] Use external declaration for filep_cachep 2006-11-18 5:44 ` [RFC 5/7] Use external declaration for filep_cachep Christoph Lameter @ 2006-11-18 6:31 ` Stephen Rothwell 2006-11-20 16:20 ` Christoph Lameter 0 siblings, 1 reply; 20+ messages in thread From: Stephen Rothwell @ 2006-11-18 6:31 UTC (permalink / raw) To: Christoph Lameter; +Cc: linux-kernel, linux-mm, Pekka Enberg, Manfred Spraul [-- Attachment #1: Type: text/plain, Size: 833 bytes --] On Fri, 17 Nov 2006 21:44:08 -0800 (PST) Christoph Lameter <clameter@sgi.com> wrote: > > Use external declaration for filep_cachep. > > filp_cachep is used in fs/file_table.c. Its defined in fs/dcache.c. > The easiest solution here is to add an external declaration to > fs/file_table.c. > > Signed-off-by: Christoph Lameter <clameter@sgi.com> > > --- linux-2.6.19-rc5-mm2.orig/fs/file_table.c 2006-11-15 16:47:59.622264626 -0600 > +++ linux-2.6.19-rc5-mm2/fs/file_table.c 2006-11-17 23:04:05.885291107 -0600 > @@ -35,6 +35,8 @@ __cacheline_aligned_in_smp DEFINE_SPINLO > > static struct percpu_counter nr_files __cacheline_aligned_in_smp; > > +extern kmem_cache_t *filp_cachep; Is there no suitable header file to put this in? -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 5/7] Use external declaration for filep_cachep 2006-11-18 6:31 ` Stephen Rothwell @ 2006-11-20 16:20 ` Christoph Lameter 0 siblings, 0 replies; 20+ messages in thread From: Christoph Lameter @ 2006-11-20 16:20 UTC (permalink / raw) To: Stephen Rothwell; +Cc: linux-kernel, linux-mm, Pekka Enberg, Manfred Spraul On Sat, 18 Nov 2006, Stephen Rothwell wrote: > Is there no suitable header file to put this in? Same situation as before. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* [RFC 6/7] Use an external declaration in exit.c for fs_cachep 2006-11-18 5:43 [RFC 0/7] Remove slab cache declarations in slab.h Christoph Lameter ` (4 preceding siblings ...) 2006-11-18 5:44 ` [RFC 5/7] Use external declaration for filep_cachep Christoph Lameter @ 2006-11-18 5:44 ` Christoph Lameter 2006-11-18 6:32 ` Stephen Rothwell 2006-11-18 5:44 ` [RFC 7/7] Move names_cachep to fs.h Christoph Lameter 6 siblings, 1 reply; 20+ messages in thread From: Christoph Lameter @ 2006-11-18 5:44 UTC (permalink / raw) To: linux-kernel; +Cc: linux-mm, Manfred Spraul, Christoph Lameter, Pekka Enberg Use an external declaration in exit.c for fs_cachep. fs_cachep is only used in kernel/exit.c and in kernel/fork.c. It is defined in kernel/fork.c so we need to add an external declaration to kernel/exit.c to be able to avoid the declaration. Signed-off-by: Christoph Lameter <clameter@sgi.com> Index: linux-2.6.19-rc5-mm2/include/linux/slab.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/slab.h 2006-11-17 23:04:05.859898302 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/slab.h 2006-11-17 23:04:09.679562142 -0600 @@ -298,7 +298,6 @@ static inline void kmem_set_shrinker(kme /* System wide caches */ extern kmem_cache_t *names_cachep; -extern kmem_cache_t *fs_cachep; #endif /* __KERNEL__ */ Index: linux-2.6.19-rc5-mm2/kernel/exit.c =================================================================== --- linux-2.6.19-rc5-mm2.orig/kernel/exit.c 2006-11-15 16:48:11.485511089 -0600 +++ linux-2.6.19-rc5-mm2/kernel/exit.c 2006-11-17 23:04:09.764530373 -0600 @@ -48,6 +48,8 @@ #include <asm/pgtable.h> #include <asm/mmu_context.h> +extern kmem_cache_t *fs_cachep; + extern void sem_exit (void); static void exit_mm(struct task_struct * tsk); -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 6/7] Use an external declaration in exit.c for fs_cachep 2006-11-18 5:44 ` [RFC 6/7] Use an external declaration in exit.c for fs_cachep Christoph Lameter @ 2006-11-18 6:32 ` Stephen Rothwell 2006-11-20 16:21 ` Christoph Lameter 0 siblings, 1 reply; 20+ messages in thread From: Stephen Rothwell @ 2006-11-18 6:32 UTC (permalink / raw) To: Christoph Lameter; +Cc: linux-kernel, linux-mm, Manfred Spraul, Pekka Enberg [-- Attachment #1: Type: text/plain, Size: 823 bytes --] On Fri, 17 Nov 2006 21:44:13 -0800 (PST) Christoph Lameter <clameter@sgi.com> wrote: > > Use an external declaration in exit.c for fs_cachep. > > fs_cachep is only used in kernel/exit.c and in kernel/fork.c. > It is defined in kernel/fork.c so we need to add an external > declaration to kernel/exit.c to be able to avoid the > declaration. > > Signed-off-by: Christoph Lameter <clameter@sgi.com> > > --- linux-2.6.19-rc5-mm2.orig/kernel/exit.c 2006-11-15 16:48:11.485511089 -0600 > +++ linux-2.6.19-rc5-mm2/kernel/exit.c 2006-11-17 23:04:09.764530373 -0600 > @@ -48,6 +48,8 @@ > #include <asm/pgtable.h> > #include <asm/mmu_context.h> > > +extern kmem_cache_t *fs_cachep; You know what I am going to say, right? :-) -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [RFC 6/7] Use an external declaration in exit.c for fs_cachep 2006-11-18 6:32 ` Stephen Rothwell @ 2006-11-20 16:21 ` Christoph Lameter 0 siblings, 0 replies; 20+ messages in thread From: Christoph Lameter @ 2006-11-20 16:21 UTC (permalink / raw) To: Stephen Rothwell; +Cc: linux-kernel, linux-mm, Manfred Spraul, Pekka Enberg On Sat, 18 Nov 2006, Stephen Rothwell wrote: > You know what I am going to say, right? :-) And you know the answer by now... ;;-) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
* [RFC 7/7] Move names_cachep to fs.h 2006-11-18 5:43 [RFC 0/7] Remove slab cache declarations in slab.h Christoph Lameter ` (5 preceding siblings ...) 2006-11-18 5:44 ` [RFC 6/7] Use an external declaration in exit.c for fs_cachep Christoph Lameter @ 2006-11-18 5:44 ` Christoph Lameter 6 siblings, 0 replies; 20+ messages in thread From: Christoph Lameter @ 2006-11-18 5:44 UTC (permalink / raw) To: linux-kernel; +Cc: linux-mm, Pekka Enberg, Christoph Lameter, Manfred Spraul Move names_cachep to fs.h The names_cachep is used for getname() and putname(). So lets put it into fs.h. Signed-off-by: Christoph Lameter <clameter@sgi.com> Index: linux-2.6.19-rc5-mm2/include/linux/slab.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/slab.h 2006-11-17 23:04:09.679562142 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/slab.h 2006-11-17 23:04:13.548058299 -0600 @@ -296,9 +296,6 @@ static inline void kmem_set_shrinker(kme #endif /* CONFIG_SLOB */ -/* System wide caches */ -extern kmem_cache_t *names_cachep; - #endif /* __KERNEL__ */ #endif /* _LINUX_SLAB_H */ Index: linux-2.6.19-rc5-mm2/include/linux/fs.h =================================================================== --- linux-2.6.19-rc5-mm2.orig/include/linux/fs.h 2006-11-15 16:48:08.629815618 -0600 +++ linux-2.6.19-rc5-mm2/include/linux/fs.h 2006-11-17 23:04:13.586147506 -0600 @@ -1558,6 +1558,8 @@ extern char * getname(const char __user extern void __init vfs_caches_init_early(void); extern void __init vfs_caches_init(unsigned long); +extern kmem_cache_t *names_cachep; + #define __getname() kmem_cache_alloc(names_cachep, SLAB_KERNEL) #define __putname(name) kmem_cache_free(names_cachep, (void *)(name)) #ifndef CONFIG_AUDITSYSCALL -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2006-11-21 20:07 UTC | newest] Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-11-18 5:43 [RFC 0/7] Remove slab cache declarations in slab.h Christoph Lameter 2006-11-18 5:43 ` [RFC 1/7] Remove declaration of sighand_cachep from slab.h Christoph Lameter 2006-11-18 6:27 ` Stephen Rothwell 2006-11-20 16:20 ` Christoph Lameter 2006-11-21 8:07 ` Andrew Morton 2006-11-21 19:36 ` Christoph Lameter 2006-11-21 19:49 ` Andrew Morton 2006-11-21 19:56 ` Christoph Lameter 2006-11-21 20:07 ` Andrew Morton 2006-11-18 5:43 ` [RFC 2/7] Remove bio_cachep " Christoph Lameter 2006-11-18 5:43 ` [RFC 3/7] Move vm_area_cachep to mm.h Christoph Lameter 2006-11-18 5:44 ` [RFC 4/7] Move files_cachep to file.h Christoph Lameter 2006-11-21 8:09 ` Andrew Morton 2006-11-18 5:44 ` [RFC 5/7] Use external declaration for filep_cachep Christoph Lameter 2006-11-18 6:31 ` Stephen Rothwell 2006-11-20 16:20 ` Christoph Lameter 2006-11-18 5:44 ` [RFC 6/7] Use an external declaration in exit.c for fs_cachep Christoph Lameter 2006-11-18 6:32 ` Stephen Rothwell 2006-11-20 16:21 ` Christoph Lameter 2006-11-18 5:44 ` [RFC 7/7] Move names_cachep to fs.h Christoph Lameter
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox