Michael, thanks a lot for the detailed explanation. > On 26 Feb 2025, at 11:57, Maxim Orlov <orlo...@gmail.com> wrote: > > Indeed. PFA the correct one. > > <v2-0001-Avoid-double-spinlock-release.patch>
I’d suggest to give some more descriptive name to “logit” and expand comment “/* sanity check */“. This comment was easier to understand when elog() was near, but now IMO we can have few words about what is going on. Best regards, Andrey Borodin.