netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Andi Kleen <ak@muc.de>
Cc: Leonid Grossman <leonid.grossman@neterion.com>,
	netdev@oss.sgi.com, leonid@neterion.com, alex@neterion.com,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [ANNOUNCE] Experimental Driver for Neterion/S2io 10GbE Adapters
Date: Mon, 14 Mar 2005 18:45:54 -0500	[thread overview]
Message-ID: <42362232.4070202@pobox.com> (raw)
In-Reply-To: <m1br9l6c63.fsf@muc.de>

Andi Kleen wrote:
> "Leonid Grossman" <leonid.grossman@neterion.com> writes:
> 
>>Do you have other objections to the submission? We'd like to see if these
>>could be addressed; going forward we see significant benefits both for
>>S2io/Neterion (and our customers) and for community to use this driver.
> 
> 
> I guess the main objection to the HAL comes not from performance
> issues (Usually the only thing that really counts for performance
> is data cache misses and the HAL is unlikely to affect this much), but
> the coding style etc.. Indeed it does not look too Linux like. 

Well, not coding style, but code analysis and maintenance issues.

HALs are generally type-opaque, breaking checker-style tools and sparse 
checks.

"it looks like Linux code" has implications on bug finding and fixing, 
and long term maintenance of the code.  You want to make it easy for 
someone to make the same change across N net drivers.

Because most ->hard_start_xmit() hooks were written in a similar 
fashion, it was easy and quick to deploy fixes for the skb_padto() 
security bug across many net drivers.

A lot of tiny costs that mostly wind up as noise:  additional branching 
/ derefs.

My biggest objection is that HALs increase the overall "cost" of 
maintaining a piece of code, and serve as a barrier against outside 
(non-primary-author) kernel hacker involvement.

Remember, this driver is going to be with us for -10- years or more.

	Jeff

  reply	other threads:[~2005-03-14 23:45 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-19  3:44 Intel and TOE in the news Jeff Garzik
2005-02-19  4:10 ` Lennert Buytenhek
2005-02-19 19:46   ` David S. Miller
2005-02-19 20:27     ` Andi Kleen
2005-02-19 20:32       ` Lennert Buytenhek
2005-02-20 16:46       ` Eugene Surovegin
2005-02-21 14:01         ` jamal
2005-02-20 19:45       ` rick jones
2005-02-20 21:20         ` Michael Richardson
2005-02-20 21:29         ` Andi Kleen
2005-02-20 22:43           ` Leonid Grossman
2005-02-20 23:07             ` Andi Kleen
2005-02-21  1:57               ` Alex Aizman
2005-02-21  2:37                 ` Jeff Garzik
2005-02-21 19:34                   ` Alex Aizman
2005-02-21 20:34                     ` Jeff Garzik
2005-02-22  0:50                       ` Alex Aizman
2005-02-21 11:37                 ` Andi Kleen
2005-02-21  3:31               ` Leonid Grossman
2005-02-21 11:50                 ` Andi Kleen
2005-02-21 13:28                   ` Thomas Graf
2005-02-21 14:03                     ` jamal
2005-02-21 14:17                       ` Thomas Graf
2005-02-21 14:31                         ` jamal
2005-02-21 15:34                           ` Thomas Graf
2005-02-21 15:48                             ` jamal
2005-02-21 16:40                               ` Thomas Graf
2005-02-21 17:03                                 ` jamal
2005-02-21 20:12                                   ` patrick mcmanus
2005-02-21 21:12                                     ` jamal
2005-03-06 11:21                                       ` Harald Welte
2005-02-21 21:41                                   ` Thomas Graf
2005-02-21 15:38                           ` Robert Olsson
2005-02-21 15:50                             ` jamal
2005-02-21 13:44             ` jamal
2005-02-21 16:52               ` Leonid Grossman
2005-02-21 17:11                 ` jamal
2005-02-21 18:02                   ` Leonid Grossman
2005-02-22 18:02                     ` Stephen Hemminger
2005-02-22 18:07                       ` Andi Kleen
2005-02-22 20:51                         ` Leonid Grossman
2005-02-22 21:20                           ` Rick Jones
2005-02-22 21:30                             ` Leonid Grossman
2005-02-22 21:42                               ` Rick Jones
2005-02-22 22:10                                 ` Leonid Grossman
2005-02-22 21:43                           ` Andi Kleen
2005-02-22 22:17                             ` Leonid Grossman
2005-02-22 22:42                               ` Andi Kleen
2005-02-22 22:51                                 ` Leonid Grossman
2005-03-14 20:22                   ` [ANNOUNCE] Experimental Driver for Neterion/S2io 10GbE Adapters Alex Aizman
2005-03-14 20:38                     ` David S. Miller
2005-03-14 20:53                       ` Leonid Grossman
2005-03-14 23:27                         ` Andi Kleen
2005-03-14 23:45                           ` Jeff Garzik [this message]
2005-03-15  0:32                             ` Leonid Grossman
2005-03-15  1:07                           ` Alex Aizman
2005-03-15  1:29                             ` Rick Jones
2005-03-15  2:28                               ` Leonid Grossman
2005-03-15 15:07                             ` Leonid Grossman
2005-03-15 15:55                               ` Leonid Grossman
2005-03-19 20:15                                 ` Andi Kleen
2005-03-19 22:19                                   ` Leonid Grossman
2005-03-20 13:40                                     ` jamal
2005-03-20 20:13                                       ` Leonid Grossman
2005-03-15  5:14                     ` Scott Feldman
2005-03-15  5:59                       ` Matt Mackall
2005-03-15  6:02                       ` Leonid Grossman
2005-02-22 17:27                 ` Intel and TOE in the news Andi Kleen
2005-02-19 20:29     ` Lennert Buytenhek
2005-03-02 13:48   ` Lennert Buytenhek
2005-03-02 17:34     ` Leonid Grossman
2005-02-21 13:59 ` P
2005-02-21 14:10   ` jamal
2005-02-21 22:44 ` Stephen Hemminger
  -- strict thread matches above, loose matches on Subject: below --
2005-03-22 23:29 [ANNOUNCE] Experimental Driver for Neterion/S2io 10GbE Adapters Alex Aizman
2005-08-11 17:48 ` Jeff Garzik
2005-08-11 19:40 Leonid Grossman

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=42362232.4070202@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=ak@muc.de \
    --cc=alex@neterion.com \
    --cc=davem@davemloft.net \
    --cc=leonid.grossman@neterion.com \
    --cc=leonid@neterion.com \
    --cc=netdev@oss.sgi.com \
    /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;
as well as URLs for NNTP newsgroup(s).