Re: [PATCH 0/3] Fix alignment issue and prepare for rust 1.71
From: Miguel Ojeda
Date: Sun Jul 30 2023 - 16:43:56 EST
On Sun, Jul 30, 2023 at 3:29 AM Boqun Feng <boqun.feng@xxxxxxxxx> wrote:
>
> Patch #1: introduces the core helper function that help calculate the
> correct size for krealloc(), and also use the helper function to fix
> `__rust_*` ones, this should be backported to stable kernels hence the
> Cc.
>
> Patch #2: use the helper function in KernelAllocator
>
> Patch #3: Bjorn's patch with correct use of the helper function.
Looks good to me, thanks a lot!
> I have to add a few more SAFETY comments in these `__rust_*` functions,
> which may cause conflict with your 1.71 series.
No worries.
> Since all previous patches get refactored a bit, I dropped all the
> Reviewed-bys, appreciate anyone to take a look, thanks!
Thanks Boqun!
Cheers,
Miguel