Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1335937

Re: Idea for reducing sysfs memory usage

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: Idea for reducing sysfs memory usage
Date 2016-02-17 01:00 +0100
Message-ID <r2XHc-6sL-5@gated-at.bofh.it> (permalink)
References <r2Xxw-6pr-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Idea for reducing sysfs memory usage Edward Cree <ec429@cantab.net> - 2016-02-17 00:50 +0100
  Re: Idea for reducing sysfs memory usage Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-17 01:00 +0100
    Re: Idea for reducing sysfs memory usage Edward Cree <ec429@cantab.net> - 2016-02-17 01:40 +0100
      Re: Idea for reducing sysfs memory usage David Ahern <dsa@cumulusnetworks.com> - 2016-02-17 01:50 +0100
        Re: Idea for reducing sysfs memory usage Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-17 03:40 +0100
      Re: Idea for reducing sysfs memory usage Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-17 01:50 +0100
        Re: Idea for reducing sysfs memory usage David Ahern <dsa@cumulusnetworks.com> - 2016-02-17 02:00 +0100
        Re: Idea for reducing sysfs memory usage Edward Cree <ec429@cantab.net> - 2016-02-17 02:30 +0100
          Re: Idea for reducing sysfs memory usage Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-17 03:30 +0100
  Re: Idea for reducing sysfs memory usage Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-17 01:40 +0100

csiph-web