Re: [PATCH] oops_in_progress is unlikely()

From: Dave Jones
Date: Wed Sep 10 2003 - 09:26:12 EST


On Wed, Sep 10, 2003 at 04:20:31PM +0200, Pavel Machek wrote:

> > none of this patch seems to touch particularly performance critical code.
> > Is it really worth adding these macros to every if statement in the kernel?
> > There comes a point where readability is lost, for no measurable gain.
>
> Perhaps we should have macros ifu() and ifl(), that would be used as a
> plain if, just with likelyness-indication? That way we could have it
> in *every* statement and readability would not suffer that much...

You've got to be kidding.

Dave

--
Dave Jones http://www.codemonkey.org.uk
-
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/