rust: alloc: make `allocator` module public
authorDanilo Krummrich <dakr@kernel.org>
Fri, 4 Oct 2024 15:41:09 +0000 (17:41 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Tue, 15 Oct 2024 20:56:59 +0000 (22:56 +0200)
commita87a36f0bf517dae22f3e3790b05c979070f776a
tree7a06f2328a536e07e2d0b7344c3fb0a10acd8a21
parent8a799831fc63c988eec90d334fdd68ff5f2c7eb5
rust: alloc: make `allocator` module public

Subsequent patches implement allocators such as `Kmalloc`, `Vmalloc`,
`KVmalloc`; we need them to be available outside of the kernel crate as
well.

Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20241004154149.93856-6-dakr@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/alloc.rs