Re: [PATCH 0/2] rust: dma_buf: add dma-fence signalling sections
From: Danilo Krummrich
Date: Fri Nov 27 2026 - 15:11:55 EST
On Fri Nov 27, 2026 at 7:59 PM CET, Gary Guo wrote:
> Do you need it being a guard? You can do things like
>
> let a = SignallingSection::begin();
> let b = SignallingSection::begin();
> drop(a);
> drop(b);
>
> to break nesting. A closure-based approach wouldn't have this issue.
I also think that a closure-based design would be better.
Another nit, "signaling" is much more common in the kernel than "signalling".