Re: [dpdk-dev] [PATCH] mem: fix cleanup after incomplete initialization

2021-04-20 Thread Thomas Monjalon
20/04/2021 18:49, Burakov, Anatoly: > On 09-Apr-21 6:16 PM, Dmitry Kozlyuk wrote: > > In case of EAL initialization failure rte_eal_memory_detach() may be > > called before mapping memory configuration, which in this case points > > to the static structure. Attempt to unmap it yields error: > > >

Re: [dpdk-dev] [PATCH] mem: fix cleanup after incomplete initialization

2021-04-20 Thread Burakov, Anatoly
On 09-Apr-21 6:16 PM, Dmitry Kozlyuk wrote: In case of EAL initialization failure rte_eal_memory_detach() may be called before mapping memory configuration, which in this case points to the static structure. Attempt to unmap it yields error: EAL: Could not unmap shared memory config: Invali

[dpdk-dev] [PATCH] mem: fix cleanup after incomplete initialization

2021-04-09 Thread Dmitry Kozlyuk
In case of EAL initialization failure rte_eal_memory_detach() may be called before mapping memory configuration, which in this case points to the static structure. Attempt to unmap it yields error: EAL: Could not unmap shared memory config: Invalid argument Skip unmapping memory configuration