Re: [PATCH 2/3] bus/vdev: revert fix devargs after multi-process bus scan

2024-07-11 Thread Burakov, Anatoly
On 3/14/2024 10:36 AM, Mingjin Ye wrote: The asan tool detected a memory leak in the vdev driver alloc_devargs. The previous commit does not insert device arguments into devargs_list when attaching a device during a bus scan of a secondary process. This resulted in an existing memory leak when re

RE: [PATCH 2/3] bus/vdev: revert fix devargs after multi-process bus scan

2024-06-19 Thread Ye, MingjinX
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, June 20, 2024 4:15 AM > To: Ye, MingjinX > Cc: dev@dpdk.org; sta...@dpdk.org; step...@networkplumber.org; > Richardson, Bruce ; Marchand, David > > Subject: Re: [PATCH 2/3] bus/vdev: revert fix dev

Re: [PATCH 2/3] bus/vdev: revert fix devargs after multi-process bus scan

2024-06-19 Thread Thomas Monjalon
14/03/2024 10:36, Mingjin Ye: > The asan tool detected a memory leak in the vdev driver alloc_devargs. > The previous commit does not insert device arguments into devargs_list What is the previous commit? Where is devargs_list in this function? > when attaching a device during a bus scan of a sec

[PATCH 2/3] bus/vdev: revert fix devargs after multi-process bus scan

2024-03-14 Thread Mingjin Ye
The asan tool detected a memory leak in the vdev driver alloc_devargs. The previous commit does not insert device arguments into devargs_list when attaching a device during a bus scan of a secondary process. This resulted in an existing memory leak when removing a vdev device, since rte_devargs_rem