Re: [PATCH 3/7] rust: mm: update ARef and AlwaysRefCounted imports from sync::aref

From: Danilo Krummrich
Date: Wed Aug 20 2025 - 19:38:58 EST


On 8/21/25 1:25 AM, Andrew Morton wrote:
On Fri, 15 Aug 2025 15:51:31 +0200 Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:

On Wed, Jul 16, 2025 at 11:16 AM Shankari Anand
<shankari.ak0208@xxxxxxxxx> wrote:

Update call sites in the mm subsystem to import `ARef` and
`AlwaysRefCounted` from `sync::aref` instead of `types`.

This aligns with the ongoing effort to move `ARef` and
`AlwaysRefCounted` to sync.

Suggested-by: Benno Lossin <lossin@xxxxxxxxxx>
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Signed-off-by: Shankari Anand <shankari.ak0208@xxxxxxxxx>

Andrew, would you be able to pick up this patch? Thanks!

I prefer not to grab a single patch from the middle of a series, so
please add

Acked-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

and merge this alongside the remainder of that series, thanks.

This patch was sent standalone. The reason for the "3/7" suffix is that the
author wasn't aware that this should be avoided for independent patches.

It was previously part of a treewide series, where the treewide changes have
been decided to do in multiple cycles instead, such that each subsystem can pick
up the corresponding patches.