From: Rusty Russell <rusty@rustcorp.com.au>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
netfilter-devel@vger.kernel.org,
Linus Torvalds <torvalds@osdl.org>
Subject: Re: [PATCH 2/2] The new jhash implementation
Date: Sat, 27 Nov 2010 14:01:22 +1030 [thread overview]
Message-ID: <201011271401.22773.rusty@rustcorp.com.au> (raw)
In-Reply-To: <1290690908-794-3-git-send-email-kadlec@blackhole.kfki.hu>
On Thu, 25 Nov 2010 11:45:08 pm Jozsef Kadlecsik wrote:
> The current jhash.h implements the lookup2() hash function by Bob Jenkins.
> However, lookup2() is outdated as Bob wrote a new hash function called
> lookup3(). The new hash function
Oops, we discussed this ages ago, looks like it fell through the cracks.
Thanks Jozsef!
> +extern u32 jhash(const void *key, u32 length, u32 initval);
> +extern u32 jhash2(const u32 *k, u32 length, u32 initval);
> +extern u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval);
This last one can be marked __attribute__((const)) for a little
extra compiler help, too.
Cheers,
Rusty.
next prev parent reply other threads:[~2010-11-27 3:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-25 13:15 [PATCH 0/2] New jhash function Jozsef Kadlecsik
2010-11-25 13:15 ` [PATCH 1/2] Prepare the tree for un-inlined jhash Jozsef Kadlecsik
2010-11-25 13:15 ` [PATCH 2/2] The new jhash implementation Jozsef Kadlecsik
2010-11-25 13:49 ` Eric Dumazet
2010-11-25 13:55 ` Changli Gao
2010-11-25 14:05 ` Eric Dumazet
2010-11-25 14:41 ` Jozsef Kadlecsik
2010-11-25 17:21 ` Eric Dumazet
2010-11-25 21:14 ` Jozsef Kadlecsik
2010-11-27 3:31 ` Rusty Russell [this message]
2010-12-03 12:38 ` [PATCH 0/2] New jhash function Jozsef Kadlecsik
2010-12-03 12:39 ` [PATCH 1/2] Remove calls to jhash internals Jozsef Kadlecsik
2010-12-03 12:39 ` [PATCH 2/2] The new jhash implementation Jozsef Kadlecsik
2010-12-08 17:09 ` [PATCH 0/2] New jhash function David Miller
2010-12-08 21:23 ` Rusty Russell
2010-12-10 4:19 ` David Miller
2010-11-25 13:39 ` [PATCH 1/2] Prepare the tree for un-inlined jhash Jan Engelhardt
2010-11-25 13:57 ` Jozsef Kadlecsik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201011271401.22773.rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=kadlec@blackhole.kfki.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).