Messages in this thread Patch in this message | | | Date | Mon, 7 Aug 2000 15:11:45 +0100 (BST) | From | Tigran Aivazian <> | Subject | Re: [PATCH] signal_struct slab cache |
| |
On Mon, 7 Aug 2000, Mark Hemment wrote: diff -ur -X ignore --new-file linux-2.4.0-test5/kernel/exit.c mem-2.4.0-test5/kernel/exit.c --- linux-2.4.0-test5/kernel/exit.c Fri Jul 28 00:47:16 2000 +++ mem-2.4.0-test5/kernel/exit.c Mon Aug 7 14:06:27 2000 @@ -20,6 +20,8 @@ extern void sem_exit (void); extern struct task_struct *child_reaper; +extern kmem_cache_t *sigact_cachep; +
Hi Mark,
There is a standard place for system-wide SLAB caches - include/linux/slab.h (grep for "System wide") - please move that extern in there because kernel/exit.c includes malloc.h which is really slab.h so it should be okay.
Also, Linus was saying that it would be nice to combine the subsystem-specific SLAB cache creations in one place. I have done this for VFS in vfs_caches_init() - perhaps you could do that VM? Just an idea... Regards, Tigran
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |