Re: [RFC 0/5] Backing Store for sysfs (Overhauled)

From: Greg KH
Date: Wed Nov 12 2003 - 11:42:35 EST


On Wed, Nov 12, 2003 at 09:57:40PM +0530, Dipankar Sarma wrote:
> On Wed, Nov 12, 2003 at 08:00:15AM -0800, Greg KH wrote:
> > On Wed, Nov 12, 2003 at 05:53:44PM +0530, Maneesh Soni wrote:
> > >
> > > The concept is still the same that in this prototype also we create dentry and
> > > inode on the fly when they are first looked up. This is done for both leaf or
> > > non-leaf dentries. The generic nature of sysfs_dirent makes it easy to do for
> > > both leaf or non-leaf dentries.
> >
> > What happens once a dentry and inode is created? Is there any way for
> > them to be forced out, or do they stay around in memory forever?
>
> The idea atleast, is that if no one is using a dentry, it will
> be put in the dentry lru list and eventually returned to the slab.
> inodes too are returned alongwith. Just like how on-disk filesystems work.

Do you all have any numbers backing this up?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/