On Sunday, March 01, 2015 09:46:18 Sven Eckelmann wrote:
An unoptimized version of the Jenkins one-at-a-time hash function is used and partially copied all over the code wherever an hashtable is used. Instead the optimized version shared between the whole kernel should be used to reduce code duplication and use better optimized code.
Only the DAT code must use the old implementation because it is used as distributed hash function which has to be common for all nodes.
Signed-off-by: Sven Eckelmann sven@narfation.org
v3: rebased on top of current master
bridge_loop_avoidance.c | 16 ++++------------ distributed-arp-table.c | 17 +++++++++++++++-- hash.h | 22 ---------------------- main.h | 1 + network-coding.c | 10 ++-------- originator.h | 13 +------------ translation-table.c | 8 ++------ 7 files changed, 25 insertions(+), 62 deletions(-)
Applied in revision 3606e0a.
Thanks, Marek