Re: [patch] real fix [Re: [patch] fixed 2.2.1 inode-leakage due bogus design of the free_inodes algo

Andrea Arcangeli (andrea@e-mind.com)
Thu, 11 Feb 1999 12:16:31 +0100 (CET)


On Thu, 11 Feb 1999, Alexander Viro wrote:

> BTW, is there a decent way to create a cache from module? slabs

EXPORT_SYMBOL(kmem_find_general_cachep);
EXPORT_SYMBOL(kmem_cache_create);
EXPORT_SYMBOL(kmem_cache_shrink);
EXPORT_SYMBOL(kmem_cache_alloc);
EXPORT_SYMBOL(kmem_cache_free);

Looking at ksyms.c it seems just possible. I can't check better (more than
look at ksyms.c) right now, but if you get in problems in doing that drop
me a note and I'll take a better look soon.

Andrea Arcangeli

-
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/