Re: udev sysfs docs Re: State of devfs in 2.6?

From: Maciej Zenczykowski
Date: Wed Dec 10 2003 - 18:50:40 EST


> I'm not saying module use is more memory efficient than not or vice
> versa, but if memory usage in the 100K range is going to be the only
> argument for autoloading/unloading of modules then it's really _not_
> worth the effort unless someone can give that kind of support without
> trying. Your fight for memory efficiency should start where the
> inefficiency is the largest, and work it's way down, not the other way
> around.

That's not quite true - all kernel memory is statically mapped into ram
and unswappable. 2 MB's of X will likely end up 80% swapped to disk and
the rest is in use (and can still be swapped out when no longer needed).
100KB of an unused driver will not get swapped out.
That's where the difference is. As for using small userspace? I do,
djbdns for dns, twm for window manager etc etc...

Cheers,
MaZe.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/