Re: [PATCH v4 0/2] rust: zpool: add abstraction for zpool drivers

From: Danilo Krummrich
Date: Tue Aug 26 2025 - 07:44:43 EST


On 8/26/25 12:43 PM, Miguel Ojeda wrote:
On Sat, Aug 23, 2025 at 3:04 PM Vitaly Wool <vitaly.wool@xxxxxxxxxxx> wrote:

This patch provides the interface to use Zpool in Rust kernel code,
thus enabling Rust implementations of Zpool allocators for Zswap.

In v1 the usual use case question was asked -- could we get some more
details in the cover letter or ideally in the patch itself?

bindings/bindings_helper.h | 1
helpers/helpers.c | 1
helpers/zpool.c | 6 +
kernel/alloc.rs | 5
kernel/lib.rs | 2
kernel/zpool.rs | 338 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Should a `MAINTAINERS` change be added? Was maintenance in general discussed?

@Alice: I assume this should go under the Rust MM entry?