-
- Downloads
rust: alloc: introduce allocation flags
We'll use them when allocating `Box`, `Arc`, and `UniqueArc` instances, as well as when allocating memory for `Vec` elements. These changes will come in subsequent patches. Reviewed-by:Benno Lossin <benno.lossin@proton.me> Signed-off-by:
Wedson Almeida Filho <walmeida@microsoft.com> Link: https://lore.kernel.org/r/20240328013603.206764-6-wedsonaf@gmail.com Signed-off-by:
Miguel Ojeda <ojeda@kernel.org>
Showing
- rust/bindings/bindings_helper.h 3 additions, 0 deletionsrust/bindings/bindings_helper.h
- rust/kernel/alloc.rs 61 additions, 0 deletionsrust/kernel/alloc.rs
- rust/kernel/alloc/allocator.rs 6 additions, 11 deletionsrust/kernel/alloc/allocator.rs
- rust/kernel/prelude.rs 1 addition, 1 deletionrust/kernel/prelude.rs
Loading
Please register or sign in to comment