Re: [PATCH v2] mm/swap: fix race when skipping swapcache

From: SeongJae Park
Date: Tue Feb 06 2024 - 13:49:09 EST


Hi Kairui,

On Wed, 7 Feb 2024 02:25:59 +0800 Kairui Song <ryncsn@xxxxxxxxx> wrote:

> From: Kairui Song <kasong@xxxxxxxxxxx>
>
[...]
> ---
> Update from V1:
> - Add some words on ZRAM case, it will discard swap content on swap_free so the race window is a bit different but cure is the same. [Barry Song]
> - Update comments make it cleaner [Huang, Ying]
> - Add a function place holder to fix CONFIG_SWAP=n built [SeongJae Park]

I confirm the build issue[1] that I reported yesterday is gone with this
version. Thank you for fixing it!

[1] https://lore.kernel.org/linux-mm/20240206022409.202536-1-sj@xxxxxxxxxx


Thanks,
SJ

[...]