Messages in this thread | | | Date | Mon, 6 Oct 2003 12:10:04 -0700 | From | Greg KH <> | Subject | Re: [RFC 0/6] Backing Store for sysfs |
| |
On Mon, Oct 06, 2003 at 09:01:40PM +0200, Pascal Schmidt wrote: > On Mon, 06 Oct 2003 20:20:16 +0200, you wrote in linux.kernel: > > > Does that make more sense? We can't just look at what happens with this > > patch without actually accessing all of the sysfs tree, as that will be > > the "normal" case. > > Well, the normal case for me and other people not using any hot-pluggable > devices will be to run a hotplug agent that does absolutely nothing... so > in my case, the proposed patch would help - more memory available for the > normal work I do. > > With a static /dev and no hotpluggable stuff around, there is no need > for and hotplug agent being there at all. And I do think such system > are not too uncommon, so considering them would probably be nice.
Systems like this are not uncommon, I agree. But also for systems like this, the current code works just fine (small number of fixed devices.) I haven't heard anyone complain about memory usage for a normal system (99.9% of the systems out there.)
Also, remember that in 2.7 I'm going to make device numbers random so you will have to use something like udev to control your /dev tree. Slowly weaning yourself off of a static /dev during the next 2 years or so might be a good idea :)
thanks,
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |