Re: [PATCH v9 00/29] Generic `Allocator` support for Rust

From: Miguel Ojeda
Date: Tue Oct 15 2024 - 17:13:49 EST


On Fri, Oct 4, 2024 at 5:42 PM Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> This patch series adds generic kernel allocator support for Rust, which so far
> is limited to `kmalloc` allocations.

Applied to `rust-next` -- thanks _a lot_ everyone!

[ Fixed typo. - Miguel ]

[ Added temporary `allow(dead_code)` for `dangling_from_layout` to clean
warning in `rusttest` target as discussed in the list (but it is
needed earlier, i.e. in this patch already). Added colon. - Miguel ]

[ Added missing `_old_layout` parameter as discussed. - Miguel ]

[ Reworded typo. - Miguel ]

[ Added backticks, fixed typos. - Miguel ]

[ Formatted a few comments. - Miguel ]

[ This patch starts using a new unstable feature, `inline_const`, but
it was stabilized in Rust 1.79.0, i.e. the next version after the
minimum one, thus it will not be an issue. - Miguel ]

[ Cleaned `rustdoc` unescaped backtick warning, added a couple more
backticks elsewhere, fixed typos, sorted `feature`s, rewrapped
documentation lines. - Miguel ]

[ Fixed typos. - Miguel ]

[ Added newline in documentation, changed case of section to be
consistent with an existing one, fixed typo. - Miguel ]

[ Converted `kasan_test_rust.rs` too, as discussed. - Miguel ]

[ Removed the temporary `allow(dead_code)` as discussed in the list and
fixed typo, added backticks. - Miguel ]

Cheers,
Miguel