public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Jaswinder Singh Rajput <jaswinderlinux@gmail.com>
Cc: Valdis.Kletnieks@vt.edu, Bryan Donlan <bdonlan@gmail.com>,
	Ingo Brueckl <ib@wupperonline.de>,
	linux-kernel@vger.kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: x86 (Linux Tiny): configure out support for some processors
Date: Fri, 2 Jan 2009 18:34:35 +0100	[thread overview]
Message-ID: <20090102173435.GE6759@elte.hu> (raw)
In-Reply-To: <3f9a31f40901020838v333a968dv937a717e031743eb@mail.gmail.com>


* Jaswinder Singh Rajput <jaswinderlinux@gmail.com> wrote:

> On Fri, Jan 2, 2009 at 9:51 PM, Ingo Molnar <mingo@elte.hu> wrote:
> >
> > So you want to save kernel size by making less generic kernels tailored to
> 
> My intention is to remove unwanted or useless data from kernel.

which is one of the intentions of CONFIG_EMBEDDED too.

> > a single box [yours in this case] - basically embedding the kernel on 
> > it?
> >
> 
> So you mean choosing x86 is also EMBEDDED ? because it will not gonna 
> run on ARM machine.
> 
> > that is what CONFIG_EMBEDDED=y means in broad terms: "make the kernel 
> > more specific [more embedded] to a particular hw/sw combination".
> 
> Choosing drivers is also Embedded ?

if you bring the argument to its logical extreme then yes. (And human 
history is rich with pointless wars fought over various arguments brought 
to their logical extreme.)

a more pragmatic approach is that EMBEDDED is the specialization stuff 
that can break a box easily without the average kernel tester noticing 
why. Average kernel testers know about drivers and know about the 
architecture they run on. They might not know what apps rely on 
CONFIG_FUTEX for example.

They will probably be aware of the basic CPU type they are using - but the 
whole option brings only marginal benefits (on the order of 10 kilobytes 
of RAM) and the failure scenario is ugly. I have run into it myself: i 
booted a bzImage i assumed would work on a box but it wouldnt due to this. 
It's a subjective category and no amount of talking will bring any 
solution here.

	Ingo

  reply	other threads:[~2009-01-02 17:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-01 20:37 x86 (Linux Tiny): configure out support for some processors Ingo Brueckl
2009-01-02  5:19 ` Bryan Donlan
2009-01-02  5:59   ` Jaswinder Singh Rajput
2009-01-02  9:38     ` Ingo Molnar
2009-01-02 15:10       ` Jaswinder Singh Rajput
2009-01-02 15:39         ` Valdis.Kletnieks
2009-01-02 16:13           ` Jaswinder Singh Rajput
2009-01-02 16:20             ` Valdis.Kletnieks
2009-01-02 16:23               ` Ingo Molnar
2009-01-02 16:21             ` Ingo Molnar
2009-01-02 16:38               ` Jaswinder Singh Rajput
2009-01-02 17:34                 ` Ingo Molnar [this message]
2009-01-02 18:13                   ` Replace CONFIG_EMBEDDED [Was: x86 (Linux Tiny): configure out support for some processor] Sam Ravnborg
2009-01-02 19:02                     ` Bill Davidsen
2009-01-02 19:31                       ` Sam Ravnborg
2009-01-02 16:51           ` x86 (Linux Tiny): configure out support for some processors david
2009-01-02 16:26             ` Valdis.Kletnieks
2009-01-02 18:54               ` david

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=20090102173435.GE6759@elte.hu \
    --to=mingo@elte.hu \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=bdonlan@gmail.com \
    --cc=hpa@zytor.com \
    --cc=ib@wupperonline.de \
    --cc=jaswinderlinux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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