DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Is rte_mempool library is multi-thread safe ???
@ 2013-12-19 10:57 ankit kumar
  2013-12-19 17:04 ` Thomas Monjalon
  0 siblings, 1 reply; 4+ messages in thread
From: ankit kumar @ 2013-12-19 10:57 UTC (permalink / raw)
  To: dev

Hi,

 I was testing  rte_ring in DPDK as it provides multi-consumer &
multi-produce queue(lock-free but not wait-free).

It was working fine but i am not sure that memory allocation &
deallocation in rte_mempool library, is multi-thread safe or not.
       Because its giving me error during allocation(from
multi-thread) as "Allocation failed(returned pointer is NULL in
allocation function rte_pktmbuf_alloc())"  & during rte_pktmbuf_free()
it generates segmentation fault and when i traced out, core file
generated, it indicated that the problem is in rte_pktmbuf_free().

Any help !!!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-20 21:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-19 10:57 [dpdk-dev] Is rte_mempool library is multi-thread safe ??? ankit kumar
2013-12-19 17:04 ` Thomas Monjalon
2013-12-19 21:30   ` Peter Chen
2013-12-20 21:28     ` Olivier MATZ

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