David,

Thanks for the follow-up. The proposed patch below from Artemy will work for me.

Jonathan


On 9/29/23 10:32, David Marchand wrote:
Hello Jonathan,

On Thu, Jul 20, 2023 at 7:19 AM Jonathan Erb
<jonathan.erb@threatblockr.com> wrote:
Resolves a deadlock that can occur when multiple secondary
processes are starting and stopping. A deadlock can occur because
eal_memalloc_init() is taking a second unnecessary read lock.
If another DPDK process that is terminating enters rte_eal_memory_detach()
and acquires a write lock wait state before the starting process can
acquire it's second read lock then no process will be able to proceed.

Cc: stable@dpdk.org

Signed-off-by: Jonathan Erb <jonathan.erb@threatblockr.com>
Thanks for the report and fix and sorry for the late reply.

Artemy came with a similar report and a more complete fix.
Could you confirm it works for you?

https://patchwork.dpdk.org/project/dpdk/list/?series=29463&state=%2A&archive=both


Thanks,

--
Jonathan Erb
Software Engineer
Phone: 1.855.765.4925
jonathan.erb@threatblockr.com
threatblockr.com
Threat Blockr Logo