From: Borislav Petkov <bp@amd64.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Steven Rostedt <rostedt@goodmis.org>,
Cyrill Gorcunov <gorcunov@openvz.org>,
Pekka Enberg <penberg@kernel.org>,
richard -rw- weinberger <richard.weinberger@gmail.com>,
"Myklebust, Trond" <Trond.Myklebust@netapp.com>,
Dave Jones <davej@redhat.com>,
Greg Kroah-Hartman <greg@kroah.com>,
Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>,
Debian Kernel Team <debian-kernel@lists.debian.org>,
OpenSUSE Kernel Team <opensuse-kernel@opensuse.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Ingo Molnar <mingo@elte.hu>,
Sasha Levin <levinsasha928@gmail.com>,
Asias He <asias.hejun@gmail.com>
Subject: Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues
Date: Thu, 19 Jul 2012 19:53:10 +0200 [thread overview]
Message-ID: <20120719175310.GF23393@aftab.osrc.amd.com> (raw)
In-Reply-To: <CA+55aFxX41pGnHcc17A=VBnW+03LEwkwATiZWObbPgD9Ap37Xg@mail.gmail.com>
On Thu, Jul 19, 2012 at 10:06:44AM -0700, Linus Torvalds wrote:
> On Thu, Jul 19, 2012 at 9:48 AM, Borislav Petkov <bp@amd64.org> wrote:
> >
> > Seriously, this helps only in the cases where the stuff the distro
> > actually needs is in modules. So, there probably are obscure situations
> > where you need to enable stuff which is bool and not M.
>
> Sadly, not obscure at all.
>
> Most of the *drivers* are modules, but most of the "distro config"
> options are indeed booleans (or, if tristate, =y).
>
> Even driver-wise, there are some things that are often =y, even though
> you generally don't want them.
Tell me about it. I'm always pissed off when someone thinks his stuff is
very important and sets his sacred option to be =y/=m by default so the
wider audience can at least compile-test it while the majority of the
machines don't actually need it.
A more coarse-grained config where most of the stuff is off by default
could take care of that probably.
> PCMCIA? Not even *laptops* have that shit any more, but having
> built-in cardbus support almost certainly helps in a distro kernel for
> booting of certain odder cases.
Yeah, distros need the one-size-fits-all thing so they have to enable
*everything*.
> Xen support? Odd partition tables? All the different AGP versions?
> Many of us couldn't care less, but again, it makes sense in the actual
> distro kernel, even if it does *not* necessarily make sense in a
> personalized one.
Yep.
> So doing "make allmodconfig" is certainly a workable thing (modulo the
> modules that you need for stuff you hadn't happened to use), but it's
> not wonderful.
Oh and I always aim to build distro kernels on a big machine -
allmodconfig build is no fun on a tiny laptop. So would it be better
to have better profiled kernels, obviating the need for an almost full
build? Hell yeah!
> I also hate having to enable support for modules. A non-modular build
> is quicker to build and avoids some security issues. Some drivers
> don't work well built-in (they load firmware etc too early), but imho
> it's worth doing if you can, and it's something we should make easy
> for people to do because of the security side (of course, per-build
> randomly generated keys and signed modules with the keys deleted after
> the build would be reasonably equivalent from a security standpoint,
> but we're not there yet).
Agreed.
So there are some not-so-obscure situations, judging by your examples
above. Ho-humm.
--
Regards/Gruss,
Boris.
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551
next prev parent reply other threads:[~2012-07-19 17:53 UTC|newest]
Thread overview: 85+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-13 20:37 Linus Torvalds
2012-07-13 20:54 ` Myklebust, Trond
2012-07-13 21:41 ` [opensuse-kernel] " richard -rw- weinberger
2012-07-14 10:37 ` Borislav Petkov
2012-07-14 12:12 ` Pekka Enberg
2012-07-14 12:43 ` Cyrill Gorcunov
2012-07-14 17:48 ` Borislav Petkov
2012-07-14 18:51 ` Cyrill Gorcunov
2012-07-14 19:51 ` david
2012-07-19 14:42 ` Steven Rostedt
2012-07-19 16:48 ` Borislav Petkov
2012-07-19 17:02 ` Steven Rostedt
2012-07-19 17:34 ` Borislav Petkov
2012-07-19 17:57 ` Steven Rostedt
2012-07-19 18:09 ` Borislav Petkov
2012-07-19 17:06 ` Linus Torvalds
2012-07-19 17:53 ` Borislav Petkov [this message]
2012-07-19 18:42 ` Konrad Rzeszutek Wilk
2012-07-15 10:14 ` Borislav Petkov
2012-07-15 10:17 ` Pekka Enberg
2012-07-15 21:18 ` Borislav Petkov
2012-07-15 21:48 ` Cyrill Gorcunov
2012-07-15 22:09 ` david
2012-07-15 22:22 ` Cyrill Gorcunov
2012-07-15 23:06 ` david
2012-07-16 8:24 ` Borislav Petkov
2012-07-16 16:43 ` david
2012-07-16 16:50 ` Linus Torvalds
2012-07-16 19:26 ` david
2012-07-16 20:56 ` Linus Torvalds
2012-07-16 22:21 ` david
2012-07-18 7:04 ` Ingo Molnar
2012-07-18 8:42 ` david
2012-07-18 9:13 ` Ingo Molnar
2012-07-17 8:03 ` Geert Uytterhoeven
2012-07-19 16:01 ` Michal Marek
2012-07-16 17:01 ` Alan Cox
2012-07-16 17:05 ` david
2012-07-13 21:02 ` Dave Jones
2012-07-13 21:17 ` Linus Torvalds
2012-07-13 22:26 ` Josh Boyer
2012-07-19 15:26 ` Steven Rostedt
2012-07-19 15:43 ` Linus Torvalds
2012-07-19 16:12 ` Steven Rostedt
2012-07-19 15:45 ` Josh Boyer
2012-07-19 16:08 ` Steven Rostedt
2012-07-19 17:19 ` Josh Boyer
2012-07-19 17:30 ` Alan Cox
2012-07-19 17:38 ` Josh Boyer
2012-07-19 21:13 ` Ben Hutchings
2012-07-20 2:44 ` david
2012-07-19 17:33 ` Steven Rostedt
2012-07-19 17:41 ` Alan Cox
2012-07-19 17:56 ` Josh Boyer
2012-07-19 18:13 ` Steven Rostedt
2012-07-19 18:36 ` Josh Boyer
2012-07-19 21:04 ` david
2012-07-19 22:35 ` Josh Boyer
2012-07-19 22:49 ` Steven Rostedt
2012-07-21 20:47 ` valdis.kletnieks
2012-07-19 18:20 ` Paul Bolle
2012-07-19 18:22 ` Josh Boyer
2012-07-19 18:49 ` Geert Uytterhoeven
2012-07-19 18:55 ` Paul Bolle
2012-07-19 21:30 ` Geert Uytterhoeven
2012-07-13 21:29 ` Geert Uytterhoeven
2012-07-13 21:50 ` Paul Bolle
2012-07-13 21:55 ` Dave Jones
2012-07-13 22:11 ` Tony Luck
2012-07-13 22:20 ` Paul Bolle
2012-07-13 23:07 ` Frank Rowand
2012-07-13 21:06 ` Khalid Aziz
2012-07-13 21:17 ` Casey Schaufler
2012-07-13 21:20 ` Linus Torvalds
2012-07-13 22:13 ` david
2012-07-13 21:59 ` Hans de Bruin
2012-07-13 22:33 ` Jesper Juhl
2012-07-13 22:46 ` david
2012-07-14 9:44 ` Olivier Galibert
2012-07-14 4:18 ` Ben Hutchings
2012-07-14 12:35 ` Josh Boyer
2012-07-19 1:48 ` Steven Yong
2012-07-20 9:47 ` Jiri Kosina
2012-07-20 10:26 ` Sam Ravnborg
[not found] <CC2A171A.580D%torvalds@linux-foundation.org>
2012-07-16 18:30 ` [opensuse-kernel] " Benjamin Beurdouche
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=20120719175310.GF23393@aftab.osrc.amd.com \
--to=bp@amd64.org \
--cc=Trond.Myklebust@netapp.com \
--cc=asias.hejun@gmail.com \
--cc=davej@redhat.com \
--cc=debian-kernel@lists.debian.org \
--cc=gorcunov@openvz.org \
--cc=greg@kroah.com \
--cc=kernel-team@lists.ubuntu.com \
--cc=levinsasha928@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=opensuse-kernel@opensuse.org \
--cc=penberg@kernel.org \
--cc=richard.weinberger@gmail.com \
--cc=rostedt@goodmis.org \
--cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome