All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Mau <mau@oscar.ping.de>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Bodo Eggert <7eggert@gmx.de>, Adrian Bunk <bunk@kernel.org>,
	devzero@web.de, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: [PATCH] Force UNIX domain sockets to be built in
Date: Mon, 31 Dec 2007 18:43:02 +0100	[thread overview]
Message-ID: <20071231174302.GA1627@oscar.prima.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0712311628330.28123@fbirervta.pbzchgretzou.qr>

On Mon, Dec 31, 2007 at 04:34:55PM +0100, Jan Engelhardt wrote:
> >
> >If you'd aim for a small kernel image, you would build anything as a module 
> >that is not requred for booting.
> >
> Yes, there is a tradeoff for both.
> 
> Example:
> 16:30 ichi:../net/802 > l fc.o fc.ko 
> -rw-r--r-- 1 jengelh users 7961 Dec 27 15:19 fc.ko
> -rw-r--r-- 1 jengelh users 2453 Dec 28 23:58 fc.o
> (from a recent not-so-complete patch turning CONFIG_FC etc. into =m)
> 
> If fc was modular, it might save the 2453 bytes off the core kernel image,
> but adds ~5508 bytes to disk.
> So one has to pick =y or =m depending on whatever suits his/her situation.

May I ask something that might be obvious for most of the
development community:

Modules have to be loaded in seperate pages, right ?

Does that mean that each module wastes partially used
pages of memory at runtime ?

I've always tried to build as much into the kernel image as
possible, because all of my systems have only 512M memory.

Thanks,
Patrick


  reply	other threads:[~2007-12-31 18:01 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-31 12:09 [PATCH] Force UNIX domain sockets to be built in Bodo Eggert
2007-12-31 12:20 ` David Miller
2007-12-31 14:03   ` Bodo Eggert
2007-12-31 19:38     ` Al Viro
2008-01-01  3:45       ` Bodo Eggert
2008-01-01  3:48         ` David Miller
2008-01-01  4:48           ` Bodo Eggert
2008-01-01  5:01         ` Theodore Tso
2008-01-02 10:25           ` Herbert Xu
2008-01-02 12:26             ` Bodo Eggert
2007-12-31 12:24 ` Adrian Bunk
2007-12-31 13:26   ` Bodo Eggert
2007-12-31 14:42     ` Adrian Bunk
2007-12-31 15:19       ` Bodo Eggert
2007-12-31 15:34         ` Jan Engelhardt
2007-12-31 17:43           ` Patrick Mau [this message]
2007-12-31 22:20             ` Jan Engelhardt
2007-12-31 17:51         ` Adrian Bunk
2007-12-31 18:05         ` Adrian Bunk
2007-12-31 15:55       ` Torsten Kaiser
2007-12-31 15:59         ` Michael Buesch
2007-12-31 16:01           ` Alan Cox
2007-12-31 16:17             ` Torsten Kaiser
2007-12-31 16:38               ` Alan Cox
2007-12-31 17:18                 ` Michael Buesch
2007-12-31 18:37                   ` Torsten Kaiser
2007-12-31 19:05                     ` Michael Buesch
2007-12-31 16:11           ` Torsten Kaiser
  -- strict thread matches above, loose matches on Subject: below --
2007-12-31 13:23 devzero
2007-12-31 13:23 ` devzero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071231174302.GA1627@oscar.prima.de \
    --to=mau@oscar.ping.de \
    --cc=7eggert@gmx.de \
    --cc=bunk@kernel.org \
    --cc=devzero@web.de \
    --cc=jengelh@computergmbh.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.