* Lai Jiangshan ([email protected]) wrote: [...] > struct lfht_test_node { > struct cds_lfht_node node; > - void *key; > - unsigned int key_len; > + unsigned long hash; > /* cache-cold for iteration */ > struct rcu_head head;
I'm really unsure about this. One of the test-case should be to walk through identical-hash-value-chain and find the right node by matching its key. If we make the hash equal to the key, we don't test the "match" code anymore. Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
