thread safety of mempool: is it?
Closed this issue · 2 comments
jeehoonkang commented
mempool seems always thread-safe: https://doc.dpdk.org/guides/prog_guide/mempool_lib.html "The mempool library is based on the DPDK lockless ring library and therefore is also multi-thread safe." https://doc.dpdk.org/guides/prog_guide/thread_safety_dpdk_functions.html
But I want to double-check (because of my lack of experience of DPDK). Would you please do it?
leeopop commented
mempool 만을 사용하는 케이스에서는 문제 없습니다.
저는 mempool을 추상화하려고 했던 것이 아니라 thread local allocator를 추상화하려고 했기 때문에
mempool 의 thread safety 가 over engineering 이라고 생각했습니다.