public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Volker Armin Hemmann <volkerarmin@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: decrapify your kernel config
Date: Wed, 18 Nov 2009 10:58:49 +0100	[thread overview]
Message-ID: <200911181058.50053.volkerarmin@googlemail.com> (raw)
In-Reply-To: <200911180918.14880.alan.mckinnon@gmail.com>

On Mittwoch 18 November 2009, Alan McKinnon wrote:
> On Wednesday 18 November 2009 01:16:04 Stefan G. Weichinger wrote:
> > Volker Armin Hemmann schrieb:
> > > Namespaces - you don't need it? Kick 'em out.
> >
> > hmm, interesting ... ;-)
> >
> > for sure I also want to decrapify my kernel-config ...
> >
> > To disable namespaces I would have to set CONFIG_EMBEDDED=y ... correct?
> >
> > This is rather counterintuitive to me, as my main workstation is far
> > from an embedded or small system (ok, not compared to the
> > 4096-cpu-clusters in http://xkcd.com/619/ , but compared to, for
> > example, my embedded ALIX-PC I use as fw/router/something ...).
> >
> > So you suggest I set CONFIG_EMBEDDED=y and in turn get several new
> > options/defaults to choose and get right or wrong ... ?
> >
> > ;-)
> >
> > I am quite sure to have at least *some* crap in my config as I tend to
> > always do something like
> >
> > zcat /proc/config.gz >> /usr/src/linux-new-shiny-version/.config
> > make oldconfig
> >
> > ....
> >
> > This gives me expected results and a "it boots OK" experience, getting
> > rid of unused crap is another issue, yes.
> >
> > I wonder which EMBEDDED options would help me ...
> 
> Likely none of them.
> 
> The embedded menu is the most counter-intuitive thing in the whole kernel
> config. It does not supply a list of things you may enable, instead it
> activates a menu that allows you to switch stuff OFF that is normally ON.
> 
> The rationale is that embedded devices need to get by on a very slim kernel
> and with some magic trickery they can successfully disable some features
>  that are usually considered perfectly normal for regular desktop use.
> 
> For example: CONFIG_HOTPLUG. It's unthinkable to remove this for a desktop,
> but does your TomTom need it? Does a GPS even have hotplug facilities? How
> about ADSL router/modems?
> 
> To disable namespace, enable embedded, leave everything on, and you will
>  find you can now disable namespaces.
> 

you can disable:
- Enable 16-bit UID system calls 

- Sysctl syscall support
without negative impact on a desktop. Most of it is broken for years anyway.

- Core dumps
 are another feature that most people never use

- Load all symbols for debugging/ksymoops  
and
- Do an extra kallsyms pass
stuff you can deactivate if you don't plan to send crash reports.

- Enable PC-Speaker support
oh hell - away with that one! Who needs beeps anyway?






  reply	other threads:[~2009-11-18  9:59 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-07  9:45 [gentoo-user] ps shows pegasus process running - what is it? Stroller
2009-11-07 10:01 ` Volker Armin Hemmann
2009-11-07 11:28   ` Stroller
2009-11-07 11:32     ` Volker Armin Hemmann
2009-11-07 23:51       ` [gentoo-user] Re: decrapify your kernel config WAS: " Stroller
2009-11-08  0:10         ` Volker Armin Hemmann
2009-11-08  0:24           ` Stroller
2009-11-08  0:50             ` Volker Armin Hemmann
2009-11-08  6:55               ` Dale
2009-11-08 21:20                 ` Stroller
2009-11-08 21:35                   ` Alan McKinnon
2009-11-08 22:20                     ` Dale
2009-11-08 22:34                       ` Alan McKinnon
2009-11-08 23:02                         ` Dale
2009-11-08 23:08                           ` Zeerak Waseem
2009-11-08 23:18                           ` Alan McKinnon
2009-11-08 23:23                           ` Stroller
2009-11-08 23:52                             ` Dale
2009-11-08 22:41                       ` Stroller
2009-11-08 22:51                         ` Alan McKinnon
2009-11-08 23:21                           ` Stroller
2009-11-08 23:40                             ` Alan McKinnon
2009-11-08 23:05                         ` Harry Putnam
2009-11-08 23:31                           ` Volker Armin Hemmann
2009-11-09 16:56                             ` Harry Putnam
2009-11-08 23:41                           ` Dale
2009-11-08 23:28                       ` Volker Armin Hemmann
2009-11-08 10:10           ` Florian Philipp
2009-11-08 10:24             ` Dale
2009-11-17 23:16           ` [gentoo-user] Re: decrapify your kernel config Stefan G. Weichinger
2009-11-17 23:26             ` Volker Armin Hemmann
2009-11-18  7:18             ` Alan McKinnon
2009-11-18  9:58               ` Volker Armin Hemmann [this message]
2009-12-02 18:46                 ` Stefan G. Weichinger
2009-12-02 21:01                   ` [gentoo-user] Re: OT: threads in thunderbird (WAS:decrapify your kernel config) Stefan G. Weichinger
2009-12-02 23:57                     ` Zeerak Waseem
2009-12-03  0:14                     ` Neil Bothwick
2009-12-03 11:43                     ` Sebastian Beßler
2009-12-02 21:42               ` [gentoo-user] Re: decrapify your kernel config Stefan G. Weichinger
2009-11-18 14:43             ` daid kahl

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=200911181058.50053.volkerarmin@googlemail.com \
    --to=volkerarmin@googlemail.com \
    --cc=gentoo-user@lists.gentoo.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