Re: [PATCH v2 23/23] migration/multifd: Optimize sender side to be lockless

2024-02-05 Thread Fabiano Rosas
Peter Xu writes: > On Mon, Feb 05, 2024 at 11:10:34AM -0300, Fabiano Rosas wrote: >> > (maybe I can repost this single patch in-place to avoid another round of >> > mail bombs..) >> >> Sure. > > I've got the final version attached here. Feel free to have a look, thanks. > > > From 6ba3373

Re: [PATCH v2 23/23] migration/multifd: Optimize sender side to be lockless

2024-02-05 Thread Peter Xu
On Mon, Feb 05, 2024 at 11:10:34AM -0300, Fabiano Rosas wrote: > > (maybe I can repost this single patch in-place to avoid another round of > > mail bombs..) > > Sure. I've got the final version attached here. Feel free to have a look, thanks. >From 6ba337320430feae4ce9d3d906ea19f68430642

Re: [PATCH v2 23/23] migration/multifd: Optimize sender side to be lockless

2024-02-05 Thread Fabiano Rosas
Peter Xu writes: > On Fri, Feb 02, 2024 at 06:34:08PM -0300, Fabiano Rosas wrote: >> pet...@redhat.com writes: >> >> > From: Peter Xu >> > >> > When reviewing my attempt to refactor send_prepare(), Fabiano suggested we >> > try out with dropping the mutex in multifd code [1]. >> > >> > I though

Re: [PATCH v2 23/23] migration/multifd: Optimize sender side to be lockless

2024-02-04 Thread Peter Xu
On Fri, Feb 02, 2024 at 06:34:08PM -0300, Fabiano Rosas wrote: > pet...@redhat.com writes: > > > From: Peter Xu > > > > When reviewing my attempt to refactor send_prepare(), Fabiano suggested we > > try out with dropping the mutex in multifd code [1]. > > > > I thought about that before but I nev

Re: [PATCH v2 23/23] migration/multifd: Optimize sender side to be lockless

2024-02-02 Thread Fabiano Rosas
pet...@redhat.com writes: > From: Peter Xu > > When reviewing my attempt to refactor send_prepare(), Fabiano suggested we > try out with dropping the mutex in multifd code [1]. > > I thought about that before but I never tried to change the code. Now > maybe it's time to give it a stab. This on

[PATCH v2 23/23] migration/multifd: Optimize sender side to be lockless

2024-02-02 Thread peterx
From: Peter Xu When reviewing my attempt to refactor send_prepare(), Fabiano suggested we try out with dropping the mutex in multifd code [1]. I thought about that before but I never tried to change the code. Now maybe it's time to give it a stab. This only optimizes the sender side. The tric