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

Benno Lossin
2024-03-26T14:01:54Z

On 25.03.24 20:54, Wedson Almeida Filho wrote:
> From: Wedson Almeida Filho <walmeida@microsoft.com>
>
> 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@microsoft.com>
> ---
> 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@proton.me>

--
Cheers,
Benno