Re: [PATCH v8 01/29] rust: alloc: add `Allocator` trait

From: Benno Lossin
Date: Wed Oct 02 2024 - 10:59:23 EST


On 01.10.24 16:59, Danilo Krummrich wrote:
> Add a kernel specific `Allocator` trait, that in contrast to the one in
> Rust's core library doesn't require unstable features and supports GFP
> flags.
>
> Subsequent patches add the following trait implementors: `Kmalloc`,
> `Vmalloc` and `KVmalloc`.
>
> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
> ---
> rust/kernel/alloc.rs | 101 +++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 101 insertions(+)

Reviewed-by: Benno Lossin <benno.lossin@xxxxxxxxx>

---
Cheers,
Benno