Re: [PATCH] Re: today's futex changes

From: Jamie Lokier
Date: Mon Sep 08 2003 - 13:27:30 EST


Jamie Lokier wrote:
> It is probably worth adding a jhash_3longs() to jhash.h, which does
> one call to __hash_mix() on 32-bit, two calls on 64-bit, and avoids
> the loop in both cases.

Bob Jenkins has a 64-bit version of the mixing function, which we
aren't using. It would be better to use a single iteration of that in
jhash_3longs().

See:
http://burtleburtle.net/bob/hash/evahash.html#hash64

-- Jamie
-
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/