Re: [RFC PATCH] mm: bypass swap readahead for zswap

From: Alexandre Ghiti

Date: Thu Jun 25 2026 - 04:30:14 EST


Hi Nhat,

On 6/24/26 19:43, Nhat Pham wrote:
On Wed, Jun 24, 2026 at 3:31 AM Kairui Song <ryncsn@xxxxxxxxx> wrote:

Better check zswap_never_enabled first to avoid a xa_load if not needed.
+1.

Maybe also xa_empty() when we're at it? :)


Yes I'll add that too.

Thanks,

Alex