aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorAlice Ryhl <[email protected]>2025-05-02 13:19:35 +0000
committerDanilo Krummrich <[email protected]>2025-05-07 16:40:45 +0000
commit771c5a7d9843643b035938624050e7769133b9cc (patch)
treee328eff02159405cd517a2c47b2ae14cd1532a50 /scripts/rustdoc_test_builder.rs
parentrust: alloc: add Vec::remove (diff)
downloadkernel-771c5a7d9843643b035938624050e7769133b9cc.tar.gz
kernel-771c5a7d9843643b035938624050e7769133b9cc.zip
rust: alloc: add Vec::insert_within_capacity
This adds a variant of Vec::insert that does not allocate memory. This makes it safe to use this function while holding a spinlock. Rust Binder uses it for the range allocator fast path. Signed-off-by: Alice Ryhl <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions