[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160216235502.GA14565@kroah.com>
Date: Tue, 16 Feb 2016 15:55:02 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Edward Cree <ec429@...tab.net>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Idea for reducing sysfs memory usage
On Tue, Feb 16, 2016 at 11:46:49PM +0000, Edward Cree wrote:
> Sorry if this has been suggested before, but if so I couldn't find it.
> Short version: could a sysfs dir reference a list of default attributes
> rather than having to instantiate them all?
Shorter version, why do you think it is? :)
Have you done some testing of the amount of memory that sysfs entries
consume and found any problems with it? Remember, a s390 system with
20000 disks works just fine with a very little memory footprint, a lot
of work has gone into making sysfs consume tiny amounts of memory.
thanks,
greg k-h
Powered by blists - more mailing lists