linux/rust/kernel
Boqun Feng f39a97d0d8 rust: allocator: Use krealloc_aligned() in KernelAllocator::alloc
This fixes the potential issue that when KernelAllocator is used, the
allocation may be mis-aligned due to SLAB's alignment guarantee.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
Link: https://lore.kernel.org/r/20230730012905.643822-3-boqun.feng@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-08-07 11:33:33 +02:00
..
init rust: init: update macro expansion example in docs 2023-05-31 18:53:10 +02:00
sync rust: lock: Add intra-doc links to the Backend trait 2023-08-07 11:33:33 +02:00
allocator.rs rust: allocator: Use krealloc_aligned() in KernelAllocator::alloc 2023-08-07 11:33:33 +02:00
build_assert.rs
error.rs rust: error: impl Debug for Error with errname() integration 2023-06-13 01:24:42 +02:00
init.rs
ioctl.rs
lib.rs
prelude.rs
print.rs
static_assert.rs
std_vendor.rs
str.rs rust: str: add conversion from CStr to CString 2023-05-31 18:53:10 +02:00
sync.rs
task.rs rust: task: add Send marker to Task 2023-05-31 18:53:10 +02:00
types.rs rust: delete ForeignOwnable::borrow_mut 2023-08-04 17:10:50 +02:00