linux/rust/kernel/alloc
Vitaly Wool 1738796994 rust: support large alignments in allocations
Add support for large (> PAGE_SIZE) alignments in Rust allocators.  All
the preparations on the C side are already done, we just need to add
bindings for <alloc>_node_align() functions and start using those.

Link: https://lkml.kernel.org/r/20250806125552.1727073-1-vitaly.wool@konsulko.se
Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.se>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Acked-by: Alice Ryhl <aliceryhl@google.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Jann Horn <jannh@google.com>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Uladzislau Rezki (Sony) <urezki@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-09-13 16:54:46 -07:00
..
kvec rust: alloc: add Vec::insert_within_capacity 2025-05-07 18:40:45 +02:00
allocator.rs rust: support large alignments in allocations 2025-09-13 16:54:46 -07:00
allocator_test.rs rust: add support for NUMA ids in allocations 2025-09-13 16:54:46 -07:00
kbox.rs rust: add support for NUMA ids in allocations 2025-09-13 16:54:46 -07:00
kvec.rs rust: add support for NUMA ids in allocations 2025-09-13 16:54:46 -07:00
layout.rs rust: alloc: add doctest for `ArrayLayout::new()` 2025-01-13 23:45:30 +01:00