Re: No kmem_cache_destroy?

David S. Miller (davem@redhat.com)
Sun, 8 Aug 1999 17:41:40 -0700


Date: Sun, 8 Aug 1999 02:55:29 +0100
From: Steve Dodd <dirk@loth.demon.co.uk>

On Sat, Aug 07, 1999 at 06:28:01PM -0700, David S. Miller wrote:

> Adding a new interface for cache destruction requires changes to all
> users of SLAB,

Why?

By definition, nothing can be destroying caches at the moment because there
is no way of doing it. So how does adding a function to do this require
changes to all users?

And furthermore by definition, with my suggested scheme nobody will
_need_ to explicitly destroy a cache. So my fix allowed everyone to
just work with the module unload/reload case with no changes to
anything outside of SLAB.

I thought I had made this explicit in my original email, perhaps not.

Later,
David S. Miller
davem@redhat.com

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