public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: Re: Re: DSDT in initrd
@ 2003-05-22  7:48 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A2B3-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Grover, Andrew @ 2003-05-22  7:48 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

If I may step on my soapbox...

I think the whole notion of initrd is a hack to work around the fact
that Linux traditionally has not relied on the fact that the boot loader
can load individual modules. The limitations of lilo should not be taken
to be the limitations of all boot loaders. lilo is the lowest common
denominator loader, and while we want Linux to work with it, Linux could
work *better* if we took advantage of grub's additional capabilities.

What this enables is not only an elimination of the hassle of initrd, it
enables previously unmodularizable things like ACPI, or PCI, or all the
special code needed for x86 subarchs, or whatever other code that one
machine needs (highmem?) but that most do not to now be modularized.
Linux distributions seem to need more and more kernel images for all
these weird cases that initrd doesn't solve, and this could allow them
to have *one* smaller kernel with the stuff that everyone needs, and the
installer configures the loader to load the additional pieces that the
system happens to need.

Having the modules specified individually to the bootloader makes things
simpler.
Having an in-kernel linker lets previously unmodularizable code be
modularized.

(This is only tangentially related to ACPI, but I mention it because I
see ACPI worsening the problem. What if I'm not installing on an ACPI
system? Now either a) My distro has an ACPI and non-ACPI kernel image
and installed the right one or b) I've got unused code sitting in RAM,
useless. But it's not just ACPI. I can think of a ton of different
kernel options that may cause distros to generate a combinatorial number
of kernel images. Yuck.)

OK I'm done...

Regards -- Andy


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: Re: Re: DSDT in initrd
@ 2003-05-28 18:31 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A847E96EE6-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Grover, Andrew @ 2003-05-28 18:31 UTC (permalink / raw)
  To: Pavel Machek; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: Pavel Machek [mailto:pavel-+ZI9xUNit7I@public.gmane.org] 
> > What this enables is not only an elimination of the hassle 
> of initrd, it
> > enables previously unmodularizable things like ACPI, or 
> PCI, or all the
> > special code needed for x86 subarchs, or whatever other 
> code that one
> 
> subarchs are different issue. They can't
> be modularized without runtime overhead.

How much runtime overhead?

-- Andy


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: Re: Re: DSDT in initrd
@ 2003-05-28 20:27 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A2C3-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Grover, Andrew @ 2003-05-28 20:27 UTC (permalink / raw)
  To: Pavel Machek; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: Pavel Machek [mailto:pavel-+ZI9xUNit7I@public.gmane.org] 
> > > > What this enables is not only an elimination of the hassle 
> > > of initrd, it
> > > > enables previously unmodularizable things like ACPI, or 
> > > PCI, or all the
> > > > special code needed for x86 subarchs, or whatever other 
> > > code that one
> > > 
> > > subarchs are different issue. They can't
> > > be modularized without runtime overhead.
> > 
> > How much runtime overhead?
> 
> Hard to tell... It might be 10% in heavy-interrupt-load situation...

Can you help me understand more about why this might be? Why would
modularized code be a performance hit over statically linked? I was
assuming there would be another pointer dereference perhaps but that
certainly is not going to be noticed. We already have drivers in
modules, I'm trying to understand how for example a hi-perf nic driver
performs the same when modularized but subarch stuff wouldn't, when I'm
assuming it would just be like a "driver" for the particular
peculiarities of the platform.

Thanks -- Regards -- Andy


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-05-28 21:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-22  7:48 Re: Re: DSDT in initrd Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A2B3-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-05-22  8:04   ` Mark Santcroos
     [not found]     ` <20030522080420.GA634-ScjxTogt4I4lGuH5DXb43w@public.gmane.org>
2003-05-24  4:51       ` M. Warner Losh
2003-05-22 11:40   ` Alan Cox
     [not found]     ` <1053603651.2541.10.camel-2MMpYkNvuYAXoXS6vNje7nviChZXdy279dF7HbQ/qKg@public.gmane.org>
2003-05-22 13:31       ` Ducrot Bruno
     [not found]         ` <20030522133132.GJ346-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-05-22 16:07           ` Russell Coker
2003-05-24  7:32   ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2003-05-28 18:31 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847E96EE6-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-05-28 19:01   ` Pavel Machek
2003-05-28 20:27 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A2C3-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-05-28 20:36   ` Pavel Machek
2003-05-28 21:46   ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox