Re: Bug in kernel code?

From: David S. Miller (davem@redhat.com)
Date: Tue Aug 27 2002 - 23:07:48 EST


   From: Luca Barbieri <ldb@ldb.ods.org>
   Date: 28 Aug 2002 06:10:39 +0200

   I'm not saying that it's serious bug, just that using __ffs is more
   appropriate than reimplementing it incorrectly and inefficiently.
   
ffs won't find the smallest power of 2 >= some_arbitrary_value.
That is what this code is doing.

I've personally wasted enough typing on this thread, so enough....
-
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/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:22 EST