Quoting r. Ingo Molnar <[EMAIL PROTECTED]>:
> Subject: Re: [PATCH] mthca: initialize send and receive queue locks separately
> 
> 
> * Michael S. Tsirkin <[EMAIL PROTECTED]> wrote:
> 
> > > Has no effect on non-lockdep kernels.
> > 
> > Hmm ... adding parameters to function still has text cost, I think. No?
> 
> it shouldnt - it's a static function and the parameter is unused _and_ 
> is of a type that is zero-size [on non-lockdep kernels] - gcc ought to 
> be able to optimize it out.

Ingo, you are right, and I just checked this with several gcc versions.
More power to you :)

-- 
MST

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to