Re: [PATCH] mthca: initialize send and receive queue locks separately

From: Ingo Molnar
Date: Tue Jul 04 2006 - 08:00:09 EST



* Michael S. Tsirkin <mst@xxxxxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/