Re: [PATCH v4 0/2] rust: zpool: add abstraction for zpool drivers
From: Johannes Weiner
Date: Tue Aug 26 2025 - 08:45:15 EST
On Sat, Aug 23, 2025 at 03:04:19PM +0200, Vitaly Wool wrote:
> Zpool is a common frontend for memory storage pool implementations.
> These pools are typically used to store compressed memory objects,
> e. g. for Zswap, the lightweight compressed cache for swap pages.
>
> This patch provides the interface to use Zpool in Rust kernel code,
> thus enabling Rust implementations of Zpool allocators for Zswap.
The zpool indirection is on its way out.
When you submitted an alternate allocator backend recently, the
resounding feedback from the zswap maintainers was that improvements
should happen to zsmalloc incrementally. It is a lot of code and has a
lot of features that go beyond allocation strategy. We do not want to
fork it and fragment this space again with niche, incomplete backends.
It's frustrating that you not only ignored this, but then went ahead
and made other people invest their time and effort into this as well.