Re: [PATCH] migrate/multifd: fix coredump when the multifd thread cleanup

2023-08-14 Thread Fabiano Rosas
ake a look. > > From: Yuhui Chen > Date: Tue, 25 Jul 2023 10:45:48 +0800 > Subject: [PATCH] migrate/multifd: fix coredump when the multifd thread cleanup > > There is a coredump while trying to destroy mutex when > p->running is false but p->mutex is not unlock. > Make sure

Re: [PATCH] migrate/multifd: fix coredump when the multifd thread cleanup

2023-07-26 Thread chenyuhui (A)
es.. I'm doing that for this one, but I'd > suggest you repost with a whole patch and information put into commit msg. > > Thanks. > Hi, Juan This is a patch for migration,please take a look. From: Yuhui Chen Date: Tue, 25 Jul 2023 10:45:48 +0800 Subject: [PATCH] migrate/mu

Re: [PATCH] migrate/multifd: fix coredump when the multifd thread cleanup

2023-07-25 Thread Peter Xu
On Tue, Jul 25, 2023 at 04:43:28PM +0800, chenyuhui (A) wrote: > @Peter Xu @Fabiano Rosas > Kindly ping on this. Ah I see what's missing - please copy maintainer (Juan) for any migration patches, especially multifd ones.. I'm doing that for this one, but I'd suggest you repost with a whole patch

Re: [PATCH] migrate/multifd: fix coredump when the multifd thread cleanup

2023-07-25 Thread chenyuhui (A)
@Peter Xu @Fabiano Rosas Kindly ping on this. On 2023/6/27 9:11, chenyuhui (A) wrote: > > On 2023/6/26 21:16, chenyuhui (A) wrote: >> >> On 2023/6/21 22:22, Fabiano Rosas wrote: >>> Jianguo Zhang via writes: >>> From: Yuhui Chen There is a coredump while trying to destroy mutex w

Re: [PATCH] migrate/multifd: fix coredump when the multifd thread cleanup

2023-06-26 Thread chenyuhui (A)
On 2023/6/26 21:16, chenyuhui (A) wrote: > > On 2023/6/21 22:22, Fabiano Rosas wrote: >> Jianguo Zhang via writes: >> >>> From: Yuhui Chen >>> >>> There is a coredump while trying to destroy mutex when >>> p->running is false but p->mutex is not unlock. >>> Make sure all mutexes has been rele

Re: [PATCH] migrate/multifd: fix coredump when the multifd thread cleanup

2023-06-21 Thread Fabiano Rosas
z00619469 via writes: > From: c00454449 > > There is a coredump while trying to destroy mutex when > p->running is false but p->mutex is not unlock. > Make sure all mutexes has been released before destroy them. > > Signed-off-by: c00454449 > --- > migration/multifd.c | 6 ++ > 1 file chan

Re: [PATCH] migrate/multifd: fix coredump when the multifd thread cleanup

2023-06-21 Thread Peter Xu
On Wed, Jun 21, 2023 at 04:18:26PM +0800, z00619469 via wrote: > From: c00454449 > > There is a coredump while trying to destroy mutex when > p->running is false but p->mutex is not unlock. > Make sure all mutexes has been released before destroy them. It'll be nice to add a backtrace of the cor

[RESEND][PATCH] migrate/multifd: fix coredump when the multifd thread cleanup

2023-06-21 Thread z00619469 via
From: Yuhui Chen There is a coredump while trying to destroy mutex when p->running is false but p->mutex is not unlock. Make sure all mutexes has been released before destroy them. Signed-off-by: Yuhui Chen --- migration/multifd.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) di

[PATCH] migrate/multifd: fix coredump when the multifd thread cleanup

2023-06-21 Thread z00619469 via
From: c00454449 There is a coredump while trying to destroy mutex when p->running is false but p->mutex is not unlock. Make sure all mutexes has been released before destroy them. Signed-off-by: c00454449 --- migration/multifd.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff