[openib-general] [PATCH] mthca: initialize send and receive queue locks separately

Ingo Molnar mingo at elte.hu
Tue Jul 4 04:56:56 PDT 2006


* Michael S. Tsirkin <mst at mellanox.co.il> 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




More information about the general mailing list