David Kuehling wrote: > I thought about all the udevd/hotplug stuff. But thinking about it > again, that might not add too much work. Well, let's see how much RAM > udevd is going to eat.
udev has the reputation of being a bit of a pig. However, I've heard mdev being mentioned as a lean replacement. Some random Google hits: http://wildanm.wordpress.com/2007/08/21/mdev-mini-udev-in-busybox/ http://quirk.ch/2010/01/how-to-set-up-mdev-rules-for-busybox > I think that vm-overcommit, which just went into the git repo, solves > that problem. Readonly data doesn't need to be swapped, when it it is > backed by a binary on disk. Ah, that too. What I meant are pages that are written at some point in time, particularly during initialization (think config file parsers and such), but then never accessed again. Since they're "dirty", the kernel can't just discard them (*), and if you don't have swap, it can't evict them diskwards either. (*) That is, unless you madvise(..., MADV_REMOVE) > Somebody once told me that software is like a gas. If you give it more > space, it just expands. Or like a black hole - the more memory you feed it, the more voracious it gets ;-) - Werner _______________________________________________ Qi Hardware Discussion List Mail to list (members only): discussion@lists.en.qi-hardware.com Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion