[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/16] Cherry pick a set of patches that enables multifd zero
|
From: |
Fabiano Rosas |
|
Subject: |
Re: [PATCH 01/16] Cherry pick a set of patches that enables multifd zero page feature. |
|
Date: |
Fri, 27 Oct 2023 09:30:37 -0300 |
Hao Xiang <hao.xiang@bytedance.com> writes:
> Juan Quintela had a patchset enabling zero page checking in multifd
> threads.
>
> https://lore.kernel.org/all/20220802063907.18882-13-quintela@redhat.com/
Hmm, risky to base your series on code more than an year old. We should
bother Juan so he sends an updated version for review.
I have concerns about that series. First is why are we doing payload
processing (i.e. zero page detection) in the multifd thread. And that
affects your series directly, because AFAICS we're now doing more
processing still.
Second is more abstract but the multifd packet header is becoming just
about small details about pages. We should probably take the time now
and split that into a multifd header and a payload specific header. With
some versioning stuck to them for migration compatibility.
Now, I don't want to block this series due to my idealistic views on the
code base, so I'll keep those aside while reviewing this, but I
definitely think we should look at the big picture before we get too
tangled up.
[PATCH 03/16] util/dsa: Add dependency idxd., Hao Xiang, 2023/10/25
[PATCH 02/16] meson: Introduce new instruction set enqcmd to the build system., Hao Xiang, 2023/10/25
[PATCH 04/16] util/dsa: Implement DSA device start and stop logic., Hao Xiang, 2023/10/25
[PATCH 05/16] util/dsa: Implement DSA task enqueue and dequeue., Hao Xiang, 2023/10/25
[PATCH 06/16] util/dsa: Implement DSA task asynchronous completion thread model., Hao Xiang, 2023/10/25
[PATCH 07/16] util/dsa: Implement zero page checking in DSA task., Hao Xiang, 2023/10/25