Re: [PATCH v2 07/23] migration/multifd: Simplify locking in sender thread

2024-02-02 Thread Fabiano Rosas
pet...@redhat.com writes: > From: Peter Xu > > The sender thread will yield the p->mutex before IO starts, trying to not > block the requester thread. This may be unnecessary lock optimizations, > because the requester can already read pending_job safely even without the > lock, because the requ

[PATCH v2 07/23] migration/multifd: Simplify locking in sender thread

2024-02-02 Thread peterx
From: Peter Xu The sender thread will yield the p->mutex before IO starts, trying to not block the requester thread. This may be unnecessary lock optimizations, because the requester can already read pending_job safely even without the lock, because the requester is currently the only one who ca