Re: [PATCH v5 0/2] rust: revocable: documentation and refactorings
From: Alice Ryhl
Date: Tue Jul 01 2025 - 07:27:45 EST
On Thu, Jun 26, 2025 at 6:59 PM Marcelo Moreira
<marcelomoreira1905@xxxxxxxxx> wrote:
>
> This patch series brings documentation and refactorings to the `Revocable` type.
>
> Changes include:
> - Clarifying the write invariant and updating associated safety comments for `Revocable<T>`.
> - Splitting the internal `revoke_internal` function into two distinct, explicit functions: `revoke()` (safe, synchronizing with RCU) and `revoke_nosync()` (unsafe, without RCU synchronization), now returning `bool` to indicate revocation status.
>
> Marcelo Moreira (2):
> rust: revocable: Refactor revocation mechanism to remove generic
> revoke_internal
> rust: revocable: Clarify write invariant and update safety comments
Danilo, did you have Revocable / Devres changes that conflict with this?
Alice