Re: [PATCH 2/2] kcompressd: Add Kcompressd for accelerated zram compression
From: Qun-wei Lin (林群崴)
Date: Mon Mar 10 2025 - 09:26:31 EST
On Fri, 2025-03-07 at 15:14 -0800, Nhat Pham wrote:
>
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>
>
> On Fri, Mar 7, 2025 at 3:13 PM Nhat Pham <nphamcs@xxxxxxxxx> wrote:
> >
> >
> > Agree. A shared solution would be much appreciated. We can keep the
> > kcompressd idea, but have it accept IO work from multiple sources
> > (zram, zswap, whatever) through a shared API.
>
> by IO I meant compress work (should be double quoted "IO"). But you
> get the idea :)
I also agree that we can evolve into a more general solution.
So this is also why we designed kcompressd to do writeback using
callbacks rather than hard coding it directly into zram.
But currently we only extend Zram. If anyone has good suggestions, we
would greatly appreciate your help.
Thanks!
Qun-wei