DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] __rte_hash_add_key_with_hash BUG with RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD extra flag ?
@ 2017-03-12 15:12 Arthas
  0 siblings, 0 replies; only message in thread
From: Arthas @ 2017-03-12 15:12 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-12 15:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-12 15:12 [dpdk-dev] __rte_hash_add_key_with_hash BUG with RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD extra flag ? Arthas

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).