[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aee8924a-d533-4d19-8064-9831e3616013@kernel.org>
Date: Tue, 22 Apr 2025 10:01:24 +0200
From: Danilo Krummrich <dakr@...nel.org>
To: Miguel Ojeda <ojeda@...nel.org>
Cc: Alexandre Courbot <acourbot@...dia.com>,
Alex Gaynor <alex.gaynor@...il.com>, Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>, Bjorn Helgaas <bhelgaas@...gle.com>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org
Subject: Re: [PATCH v4 0/2] rust/revocable: add try_access_with() convenience
method
On 4/11/25 3:15 PM, Danilo Krummrich wrote:
> On Fri, Apr 11, 2025 at 09:09:37PM +0900, Alexandre Courbot wrote:
>> This is a feature I found useful to have while writing Nova driver code
>> that accessed registers alongside other operations. I would find myself
>> quite confused about whether the guard was held or dropped at a given
>> point of the code, and it felt like walking through a minefield; this
>> pattern makes things safer and easier to read according to my experience
>> writing nova-core code.
>
> Any concerns taking this through the nova tree?
@Miguel: Can I get an ACK for taking it through the nova tree?
Powered by blists - more mailing lists