Re: [PATCH 08/10] rust: sync: update `Arc` and `UniqueArc` to take allocation flags

From: Benno Lossin
Date: Tue Mar 26 2024 - 10:03:23 EST


On 25.03.24 20:54, Wedson Almeida Filho wrote:
> From: Wedson Almeida Filho <walmeida@xxxxxxxxxxxxx>
>
> We also remove the `try_` prefix to align with how `Box` and `Vec` are
> providing methods now.
>
> `init` is temporarily updated with uses of GFP_KERNEL. These will be
> updated in a subsequent patch to take flags as well.
>
> Signed-off-by: Wedson Almeida Filho <walmeida@xxxxxxxxxxxxx>
> ---
> rust/kernel/init.rs | 4 ++--
> rust/kernel/sync/arc.rs | 28 ++++++++++++++--------------
> samples/rust/rust_print.rs | 4 ++--
> 3 files changed, 18 insertions(+), 18 deletions(-)

Reviewed-by: Benno Lossin <benno.lossin@xxxxxxxxx>

--
Cheers,
Benno