netdev
[Top] [All Lists]

Re: [PATCH] make lock/release_sock fast calls

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] make lock/release_sock fast calls
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 1 Apr 2004 05:45:21 +0100
Cc: "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20040331112407.66309027@dell_ss3.pdx.osdl.net>; from shemminger@osdl.org on Wed, Mar 31, 2004 at 11:24:07AM -0800
References: <20040331112407.66309027@dell_ss3.pdx.osdl.net>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
On Wed, Mar 31, 2004 at 11:24:07AM -0800, Stephen Hemminger wrote:
> lock_sock and release_sock are no longer inline, but they are called in
> the critical path of many operations, so it makes sense to use register based
> fastcall.

Not sure I agree.  If you care for performance you compile with
CONFIG_REGPARAM set, no?


<Prev in Thread] Current Thread [Next in Thread>