Re: [RFC PATCH 00/16] mm: add in-memory compression of reclaimed pages
From: nakixii
Date: Tue Nov 17 2026 - 14:12:19 EST
Hi Kairui,
On Wed, Nov 18, 2026 at 12:27:51AM +0800, Kairui Song wrote:
> Posting a mega-sized chunk of LLM generated unreviewable code is not
> helpful for anyone.
Yeah, that was a mistake. Sorry for the noise.
> So in mainline, the win you measured is no longer there.
Thanks for actually testing it and posting numbers, that helps a lot.
I'll drop this series.
> you didn't bypass swap, you just re-invented it.
Fair enough, that's a better way to put it.
> One thing to keep though: patch 1 (UFFDIO_MOVE exclusivity) seem
> valid?
Yes, mm-unstable still has it. I reproduced it in a VM (fork, child
exits, parent write-faults one page of a 64K folio, then moving that
page gets -EBUSY), and the fix makes it work. Will send it separately.
The part I still want to try is packing several compressed objects
into one swap slot on zswap writeback, so writeback doesn't need to
decompress. If I do, it'll be a small series on mm-unstable, with
numbers under sustained pressure. Any concerns with doing that on top
of the swap table?
Thanks,
nakixii