On Mon, 4 Dec 2006, Eric Dumazet wrote: > Doing some math, we can use a reciprocal multiplication instead of a divide.
Could you generalize the reciprocal thingy so that the division can be used from other parts of the kernel as well? It would be useful to separately get some cycle counts on a regular division compared with your division. If that shows benefit then we may think about using it in the kernel. I am a bit surprised that this is still an issue on modern cpus. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/