On 12.09.24 00:52, Danilo Krummrich wrote: > Implement `Allocator` for `Vmalloc`, the kernel's virtually contiguous > allocator, typically used for larger objects, (much) larger than page > size. > > All memory allocations made with `Vmalloc` end up in `vrealloc()`. > > Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx> > Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx> > --- > rust/helpers/helpers.c | 1 + > rust/helpers/vmalloc.c | 9 ++++++++ > rust/kernel/alloc/allocator.rs | 36 +++++++++++++++++++++++++++++ > rust/kernel/alloc/allocator_test.rs | 1 + > 4 files changed, 47 insertions(+) > create mode 100644 rust/helpers/vmalloc.c Reviewed-by: Benno Lossin <benno.lossin@xxxxxxxxx> --- Cheers, Benno