Re: [PATCH 2/2] migration/multifd: Fix rb->receivedmap cleanup race

2024-10-08 Thread Fabiano Rosas
Elena Ufimtseva writes: > On Fri, Sep 13, 2024 at 3:07 PM Fabiano Rosas wrote: > >> Fix a segmentation fault in multifd when rb->receivedmap is cleared >> too early. >> >> After commit 5ef7e26bdb ("migration/multifd: solve zero page causing >> multiple page faults"), multifd started using the rb

Re: [PATCH 2/2] migration/multifd: Fix rb->receivedmap cleanup race

2024-09-20 Thread Elena Ufimtseva
On Fri, Sep 13, 2024 at 3:07 PM Fabiano Rosas wrote: > Fix a segmentation fault in multifd when rb->receivedmap is cleared > too early. > > After commit 5ef7e26bdb ("migration/multifd: solve zero page causing > multiple page faults"), multifd started using the rb->receivedmap > bitmap, which belo

Re: [PATCH 2/2] migration/multifd: Fix rb->receivedmap cleanup race

2024-09-17 Thread Fabiano Rosas
Peter Xu writes: > On Tue, Sep 17, 2024 at 03:58:02PM -0300, Fabiano Rosas wrote: >> Fix a segmentation fault in multifd when rb->receivedmap is cleared >> too early. >> >> After commit 5ef7e26bdb ("migration/multifd: solve zero page causing >> multiple page faults"), multifd started using the r

Re: [PATCH 2/2] migration/multifd: Fix rb->receivedmap cleanup race

2024-09-17 Thread Peter Xu
On Tue, Sep 17, 2024 at 03:58:02PM -0300, Fabiano Rosas wrote: > Fix a segmentation fault in multifd when rb->receivedmap is cleared > too early. > > After commit 5ef7e26bdb ("migration/multifd: solve zero page causing > multiple page faults"), multifd started using the rb->receivedmap > bitmap, w

[PATCH 2/2] migration/multifd: Fix rb->receivedmap cleanup race

2024-09-17 Thread Fabiano Rosas
Fix a segmentation fault in multifd when rb->receivedmap is cleared too early. After commit 5ef7e26bdb ("migration/multifd: solve zero page causing multiple page faults"), multifd started using the rb->receivedmap bitmap, which belongs to ram.c and is initialized and *freed* from the ram SaveVMHan

Re: [PATCH 2/2] migration/multifd: Fix rb->receivedmap cleanup race

2024-09-17 Thread Fabiano Rosas
Peter Xu writes: > On Fri, Sep 13, 2024 at 07:05:42PM -0300, Fabiano Rosas wrote: >> Fix a segmentation fault in multifd when rb->receivedmap is cleared >> too early. >> >> After commit 5ef7e26bdb ("migration/multifd: solve zero page causing >> multiple page faults"), multifd started using the r

Re: [PATCH 2/2] migration/multifd: Fix rb->receivedmap cleanup race

2024-09-17 Thread Peter Xu
On Fri, Sep 13, 2024 at 07:05:42PM -0300, Fabiano Rosas wrote: > Fix a segmentation fault in multifd when rb->receivedmap is cleared > too early. > > After commit 5ef7e26bdb ("migration/multifd: solve zero page causing > multiple page faults"), multifd started using the rb->receivedmap > bitmap, w

[PATCH 2/2] migration/multifd: Fix rb->receivedmap cleanup race

2024-09-13 Thread Fabiano Rosas
Fix a segmentation fault in multifd when rb->receivedmap is cleared too early. After commit 5ef7e26bdb ("migration/multifd: solve zero page causing multiple page faults"), multifd started using the rb->receivedmap bitmap, which belongs to ram.c and is initialized and *freed* from the ram SaveVMHan