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