Re: 3c59x

2 messages, 2 authors, 2003-06-10 · open the first message on its own page

Re: 3c59x

From: chas williams <hidden>
Date: 2003-06-10 17:29:54

In message [off-list ref],Jeff Garzik writes:
Making every IO a conditional branch?  Ug.
you could just test once during driver init and setup an indirection
to the appropriate function.  its a little better than test and branch.

Re: 3c59x

From: David S. Miller <hidden>
Date: 2003-06-10 17:31:11

   From: chas williams [off-list ref]
   Date: Tue, 10 Jun 2003 13:29:54 -0400

   In message [off-list ref],Jeff Garzik writes:
   >Making every IO a conditional branch?  Ug.
   
   you could just test once during driver init and setup an indirection
   to the appropriate function.  its a little better than test and branch.
   
Function calls are actually more expensive, you eat an entry in
the cpu's return address cache.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help