Thread (2 messages) 2 messages, 2 authors, 2004-04-01

Re: [PATCH] make lock/release_sock fast calls

From: David S. Miller <hidden>
Date: 2004-04-01 07:07:17

On Wed, 31 Mar 2004 11:24:07 -0800
Stephen Hemminger [off-list ref] 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.
I think I'll add this change when 2.6.6 opens up.

Someone haggled about CONFIG_REGPARM, but that argument is crap.
We have "FASTCALL()" for a reason, and CONFIG_REGPARM does not
obviate it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help