Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Re: Conveying important upgrade messages to user community
Date: Sat, 20 Nov 2004 05:28:06
Message-Id: pan.2004.11.20.05.27.59.60249@cox.net
In Reply to: Re: [gentoo-dev] Re: Conveying important upgrade messages to user community by Greg KH
1 Greg KH posted <20041117183350.GB28821@×××××.com>, excerpted below, on
2 Wed, 17 Nov 2004 10:33:50 -0800:
3
4 >> If so, then there would be zero harm in loading modules which you do not
5 >> *always* need on a machine, such as a USB NIC, as mentioned in this
6 >> thread.
7 >
8 > Exactly. With the exception of additional memory being used, but hey,
9 > memory is cheap these days! :)
10
11 That's one of the things I was getting at -- the additional LOCKED kernel
12 memory required by having a module built-in or auto-loaded. Memory may be
13 cheap, but it's not FREE (OK, I see that smiley, but still don't know
14 whether the above is sarcastic or whether the smiley just means keep it
15 civil), and LOCKED memory is locked memory, that can't be swapped out for
16 something that might be more immediately useful (even if swap is enabled).
17
18 Additionally, anything loaded when it's not needed only means more
19 complexity and bloat, and more code that can cause a bug or be exploitable
20 in some way or another.
21
22 If it's a kernel module, there really IS reason to not have it loaded
23 unless it's going to be used. Whether the reasons justify the hassle
24 involved is up to the individual site admins. (Hmm.. must be that smiley
25 means sarcastic, given the position of the poster re static /dev bloat. <g>)
26
27 --
28 Duncan - List replies preferred. No HTML msgs.
29 "They that can give up essential liberty to obtain a little
30 temporary safety, deserve neither liberty nor safety." --
31 Benjamin Franklin
32
33
34
35 --
36 gentoo-dev@g.o mailing list