Subject: Re: [PATCH] rust: debugfs: Implement Reader for Mutex<T> only when T is Unpin

From: Danilo Krummrich <[email-masked]>
Date: Wed, 22 Oct 2025 11:07:53 +0200

On 10/22/25 5:42 AM, Boqun Feng wrote:
> Since we are going to make `Mutex<T>` structurally pin the data (i.e.
> `T`), therefore `.lock()` function only returns a `Guard` that can
> dereference a mutable reference to `T` if only `T` is `Unpin`, therefore
> restrict the impl `Reader` block of `Mutex<T>` to that.
> 
> Signed-off-by: Boqun Feng <[email-masked]>

I assume this can go through the driver-core tree, since it's only about a
conflict in linux-next?