RE: [PATCH v1 2/2] examples/multi_process: fix memory leak

2023-07-05 Thread Wu, Wenjun1
; From: fengchengwen > Sent: Thursday, July 6, 2023 9:02 AM > To: Wu, Wenjun1 ; dev@dpdk.org; Burakov, > Anatoly ; Zhang, Qi Z > Cc: Su, Simei ; sta...@dpdk.org > Subject: Re: [PATCH v1 2/2] examples/multi_process: fix memory leak > > On 2023/7/5 17:25, Wenjun Wu wrote: > > The devi

Re: [PATCH v1 2/2] examples/multi_process: fix memory leak

2023-07-05 Thread fengchengwen
On 2023/7/5 17:25, Wenjun Wu wrote: > The device should be detached before quit, otherwise it will > cause memory leak. Which memory will leak? For mp, if secondary process quit, it only needs to properly handle the memory shared with other process. > > Fixes: 05f1d6842fc3 ("examples/multi_pro

[PATCH v1 2/2] examples/multi_process: fix memory leak

2023-07-05 Thread Wenjun Wu
The device should be detached before quit, otherwise it will cause memory leak. Fixes: 05f1d6842fc3 ("examples/multi_process: add hotplug sample") Cc: sta...@dpdk.org Signed-off-by: Wenjun Wu --- examples/multi_process/hotplug_mp/commands.c | 22 1 file changed, 22 insertio