]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rust: alloc: make `allocator` module public
authorDanilo Krummrich <dakr@kernel.org>
Fri, 7 Mar 2025 22:49:31 +0000 (23:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 12:01:43 +0000 (13:01 +0100)
commit594134eb9cb57a2fff4911a508dab1fa2e8a6d53
treebe40de463b03dcb49148f5a4222b98ce85449dfb
parente19e92087abab71494c3bc95d6467426e8de6e2b
rust: alloc: make `allocator` module public

commit a87a36f0bf517dae22f3e3790b05c979070f776a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rust/kernel/alloc.rs