Re: [PATCH v2 01/12] mm: xswap support for zswap
From: Baoquan He
Date: Tue Sep 15 2026 - 22:52:36 EST
On 09/15/26 at 06:03pm, Kunwu Chan wrote:
> On Sun, 13 Sep 2026 15:50:03 +0800 Baoquan He <hebaoquan@xxxxxxxxxx> wrote:
...snip...
>
> The SWP_XSWAP flag and nr_real_swapfiles accounting look correct. The writeback guard
> in page_io.c (both swap_writeout and swap_read_folio paths) properly short-circuits
> xswap devices, and the zswap writeback gating on nr_real_swapfiles ensures writeback
> only fires when a real swap device is active.
>
> No issues found.
>
> Reviewed-by: Kunwu Chan <chentao@xxxxxxxxxx>
Thanks for careful reviewing. I will post v3 soon. I found this v2 is
based on a older commit of mm-unstable, and I forgot adding base-id, so
Sashiko reviewing is failed to launch. I have rebased this onto the
latest mm-new, hope Sashiko can be satisfied.