Re: [PATCH v3 1/5] rust: inline some init methods

From: Gary Guo

Date: Wed Jun 03 2026 - 08:07:18 EST


On Fri May 29, 2026 at 4:27 PM BST, Alexandre Courbot wrote:
> These methods should be inlined for optimization reasons. Failure to do
> so can also produce symbol names larger than what `modpost` or `objtool`
> can handle.
>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>

Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>

> ---
> rust/kernel/alloc/kbox.rs | 2 ++
> rust/kernel/init.rs | 1 +
> rust/kernel/sync/arc.rs | 2 ++
> 3 files changed, 5 insertions(+)