On Thu Dec 3, 2026 at 9:50 PM GMT, Danilo Krummrich wrote:
> Store the BAR reference in the TLB mutex and use a with_bar_locked()
> helper to serialize register access. This makes the locking requirement
> more explicit (e.g. when adding operations such as fault replay and
> cancellation).
> 
> Signed-off-by: Danilo Krummrich <[email protected]>

The use of existential lifetime here looks okay to me.

Acked-by: Gary Guo <[email protected]>

Please have Benno and me is the cc for use of "advanced feature of pin-init"
because we're keeping an eye on it's been used in the kernel. (As mentioned in
my PR to Miguel
https://lore.kernel.org/rust-for-linux/[email protected]/)

Best,
Gary

> ---
>  drivers/gpu/nova-core/mm/tlb.rs | 70 ++++++++++++++++++---------------
>  1 file changed, 39 insertions(+), 31 deletions(-)

Reply via email to