Re: Alternative implementation of the generic __ffs

From: Matti Aarnio
Date: Sat Apr 19 2008 - 18:29:23 EST


On Fri, Apr 18, 2008 at 07:55:28PM -0700, Joe Perches wrote:
> On Fri, 2008-04-18 at 18:11 -0700, dean gaudet wrote:
> > have you benchmarked it?
>
> I modified Alexander's benchmark:
> http://lkml.org/lkml/2008/4/18/267
> to include 32 and 64 bit variants called smallest.
>
> On an old ARM:

...

I am curious, why not take the code already in glibc ffs() for ARM ?
That is, if the ffs() is all that important detail in kernel ?

/Matti Aarnio
--
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/