On Wed, 2005-07-06 at 15:46 -0700, Greg KH wrote:
> To start with, the 061 version of udev offers a big memory savings if
> you use the "default" kernel name of a device[3].  If you do that, it does
> not create a file in its database in /dev/.udevdb/

So if we were to switch to udev 061 in genkernel, it would shrink memory
usage in our initrd/initramfs, provided we made everything use the LSB
device names/nodes, versus the devfs ones, correct?

> If we can move away from some of our devfs-like names, we stand to
> reclaim a lot of memory from everyone's machines.  As an example, if we
> drop all of the tty/pts/vc/vcc symlinks, and just go with the default
> kernel name, we save 2.5Mb of space in tempfs/ramfs.  I've done this on
> my machines and everything seems to work just fine (it looks like
> everything that was trying to use a tty node was just using the symlink
> anyway.)
> 
> So, anyone have any objections to me changing the default udev naming
> scheme in this manner?

None here.  Anything that gives us more usable RAM even after we've
snatched some for the initrd and for /dev and for the tmpfs of the
LiveCD/InstallCD is fine by me.

-- 
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to