[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250501142123.968745-1-ojeda@kernel.org>
Date: Thu, 1 May 2025 16:21:23 +0200
From: Miguel Ojeda <ojeda@...nel.org>
To: dakr@...nel.org
Cc: a.hindborg@...nel.org,
acourbot@...dia.com,
acurrid@...dia.com,
alex.gaynor@...il.com,
aliceryhl@...gle.com,
benno.lossin@...ton.me,
bhelgaas@...gle.com,
bjorn3_gh@...tonmail.com,
boqun.feng@...il.com,
bskeggs@...dia.com,
chrisi.schrefl@...il.com,
cjia@...dia.com,
gary@...yguo.net,
gregkh@...uxfoundation.org,
jhubbard@...dia.com,
joelagnelf@...dia.com,
kwilczynski@...nel.org,
linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org,
ojeda@...nel.org,
rafael@...nel.org,
rust-for-linux@...r.kernel.org,
tmgross@...ch.edu,
ttabi@...dia.com,
zhiw@...dia.com
Subject: Re: [PATCH v2 1/3] rust: revocable: implement Revocable::access()
On Mon, 28 Apr 2025 16:00:27 +0200 Danilo Krummrich <dakr@...nel.org> wrote:
>
> Implement an unsafe direct accessor for the data stored within the
> Revocable.
>
> This is useful for cases where we can prove that the data stored within
> the Revocable is not and cannot be revoked for the duration of the
> lifetime of the returned reference.
>
> Reviewed-by: Christian Schrefl <chrisi.schrefl@...il.com>
> Reviewed-by: Benno Lossin <benno.lossin@...ton.me>
> Signed-off-by: Danilo Krummrich <dakr@...nel.org>
Acked-by: Miguel Ojeda <ojeda@...nel.org>
Cheers,
Miguel
Powered by blists - more mailing lists