All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: "Grover, Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: Re: DSDT in initrd
Date: Wed, 28 May 2003 22:36:17 +0200	[thread overview]
Message-ID: <20030528203617.GA244@elf.ucw.cz> (raw)
In-Reply-To: <F760B14C9561B941B89469F59BA3A84725A2C3-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>

Hi!

> > > > > 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? 

There's a *lot* of small inline functions, look at mach_apic.h. You probably
don't want them to be called using function pointer.

Note note note: I'm not 100% convinced the pointer dereference is
going to be noticable. I guess you have to talk to NUMAQ people to get
the answers...

> 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.

Because in each interrupt NIC has to be talked to once, but apic has
to be talked to few times?
								Pavel
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]


-------------------------------------------------------
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

  parent reply	other threads:[~2003-05-28 20:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28 20:27 Re: Re: DSDT in initrd Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A2C3-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-05-28 20:36   ` Pavel Machek [this message]
2003-05-28 21:46   ` Matthew Wilcox
  -- 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-22  7:48 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

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=20030528203617.GA244@elf.ucw.cz \
    --to=pavel-+zi9xunit7i@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.