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
..
2023-05-31 17:35:03 +02:00
2023-05-31 17:35:03 +02:00
2023-05-31 17:35:03 +02:00
2023-04-22 00:20:00 +02:00
2023-05-31 17:35:03 +02:00
2023-04-22 01:46:45 +02:00
2023-05-31 18:53:10 +02:00