__rte_hash_add_key_with_hash BUG with RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD extra flag ?

From: Arthas <hidden>
Date: 2017-03-12 15:12:35

If the hash table created with RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD  extra flags, and more one worker  add same value and same key. the firt worker will add value & key success, and second worker will execute lock and found a exist value & key and return exist index without unlock. then it course next adder spinlock deadlock!


Best Regards!
Arthas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help