Re: [RFC 0/6] Backing Store for sysfs

Greg KH
2003-10-06T17:44:40Z

On Mon, Oct 06, 2003 at 07:38:06PM +0200, Christian Borntraeger wrote:
> Greg KH wrote:
>
> > On Mon, Oct 06, 2003 at 02:29:15PM +0530, Maneesh Soni wrote:
> >>
> >> 2.6.0-test6 With patches.
> >> -----------------
> >> dentry_cache (active) 2520 2544
> >> inode_cache (active) 1058 1050
> >> LowFree 875032 KB 874748 KB
> >
> > So with these patches we actually eat up more LowFree if all sysfs
> > entries are searched, and make the dentry_cache bigger? That's not good
> > :(
> [...]
> > information for that kobject. So I don't see any savings in these
> > patches, do you?
>
> I do. As stated earlier, with 20000 devices on a S390 guest I have around
> 350MB slab memory after rebooting.
> With this patch, the slab memory reduces to 60MB.

That's good. But what happens after you run a find over the sysfs tree?
Which is essencially what udev will be doing :)

thanks,

greg k-h