From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264252AbTLJXtc (ORCPT ); Wed, 10 Dec 2003 18:49:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264265AbTLJXtc (ORCPT ); Wed, 10 Dec 2003 18:49:32 -0500 Received: from gaia.cela.pl ([213.134.162.11]:60421 "EHLO gaia.cela.pl") by vger.kernel.org with ESMTP id S264252AbTLJXtb (ORCPT ); Wed, 10 Dec 2003 18:49:31 -0500 Date: Thu, 11 Dec 2003 00:48:35 +0100 (CET) From: Maciej Zenczykowski To: Ed Sweetman cc: Witukind , =?ISO-8859-1?Q?M=E5ns_Rullg=E5rd?= , Subject: Re: udev sysfs docs Re: State of devfs in 2.6? In-Reply-To: <3FD78645.9090300@wmich.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > 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.