lkml.org 
[lkml]   [1999]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] real fix [Re: [patch] fixed 2.2.1 inode-leakage due bogus design of the free_inodes algorithm


On Thu, 11 Feb 1999, Matti Aarnio wrote:

> Andrea Arcangeli <andrea@e-mind.com> replied:
> > On Thu, 11 Feb 1999, Alexander Viro wrote:
> > > BTW, is there a decent way to create a cache from module? slabs
> >
> > 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.
>
> Yes and No. kmem_cache_create() FAILS if the named cache
> exists. However there is no kmem_cache_delete() which would
> used to remove some module related cache... (IP*/TCP comes
> to my mind as an example needing it.)
>
> I have tried to resort to such esoteric tricks as having separate
> permanently loaded submodule that just allocates the damn cache..
> Please add that kmem_cache_delete() routine, and the world
> will be better place to be.

Exactly. If it is possible it would be really nice.


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

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.055 / U:1.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site