linux-origin
[Top] [All Lists]

Re: pci_* API

To: Ralf Baechle <ralf@xxxxxxxxxxx>, Leo Dagum <dagum@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: pci_* API
From: "Leo Dagum" <dagum@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Feb 2000 16:06:01 -0800
Cc: linux-origin@xxxxxxxxxxx
In-reply-to: Ralf Baechle <ralf@xxxxxxxxxxx> "pci_* API" (Feb 5, 12:46am)
References: <20000205004629.G2140@xxxxxxxxxxxxxx>
Sender: owner-linux-origin@xxxxxxxxxxx
On Feb 5, 12:46am, Ralf Baechle wrote:
> Subject: pci_* API
> It seems the consens is that they want to go for a second set of functions
> named pci64_* and safe the hand full of cycles it takes to check the
> flags.
>

Compared to the cost of doing a dma, the cycles spent on checking
flags are insignificant.  This approach strikes me as very near
sighted, but I suppose that kind of argument doesn't go very far
in the Linux community.  How about the kernel-bloat argument?  Would
that sway them?  What about the cost of an i-cache miss on account
of having these additional, highly redundant routines?

I think it's a mistake to introduce such a rigid interface when there
is opportunity to make it more flexible at less cost.  If they are
truly interested in performance then they should introduce an
interface that allows different platforms to easily provide performance
features that tailored for the platform.

- leo


-- 
Leo Dagum    SGI  Mountain View, CA 94043 (650-933-2179)

<Prev in Thread] Current Thread [Next in Thread>
  • pci_* API, Ralf Baechle
    • Message not available
      • Re: pci_* API, Leo Dagum <=