Re: [PATCH v2 06/34] cleanup: Basic compatibility with capability analysis

2025-03-04 Thread Bart Van Assche
On 3/4/25 1:21 AM, Marco Elver wrote: Due to the scoped cleanup helpers used for lock guards wrapping acquire/release around their own constructors/destructors that store pointers to the passed locks in a separate struct, we currently cannot accurately annotate *destructors* which lock was releas

Re: [PATCH v2 06/34] cleanup: Basic compatibility with capability analysis

2025-03-04 Thread Marco Elver
On Tue, 4 Mar 2025 at 13:55, Peter Zijlstra wrote: > > On Tue, Mar 04, 2025 at 10:21:05AM +0100, Marco Elver wrote: > > Due to the scoped cleanup helpers used for lock guards wrapping > > acquire/release around their own constructors/destructors that store > > pointers to the passed locks in a sep

Re: [PATCH v2 06/34] cleanup: Basic compatibility with capability analysis

2025-03-04 Thread Peter Zijlstra
On Tue, Mar 04, 2025 at 10:21:05AM +0100, Marco Elver wrote: > Due to the scoped cleanup helpers used for lock guards wrapping > acquire/release around their own constructors/destructors that store > pointers to the passed locks in a separate struct, we currently cannot > accurately annotate *destr