Re: [RFC][PATCH] Faster generic_fls

Falk Hueffner (falk.hueffner@student.uni-tuebingen.de)
01 May 2003 16:14:17 +0200


Willy TARREAU <willy@w.ods.org> writes:

> On Thu, May 01, 2003 at 03:05:57PM +0800, hugang wrote:
> Ok, I recoded the tree myself with if/else, and it's now faster than
> all others, whatever the compiler.

Have you tried with not simply increasing, but random numbers? I guess
this could make quite a difference here because of branch prediction.

-- 
	Falk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/