Re: Spinlock can be released twice in procsignal.c - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: Spinlock can be released twice in procsignal.c
Date
Msg-id 2437220C-F2FC-4A08-BD12-6444552EC98C@yandex-team.ru
Whole thread Raw
In response to Re: Spinlock can be released twice in procsignal.c  (Maxim Orlov <orlovmg@gmail.com>)
Responses Re: Spinlock can be released twice in procsignal.c
List pgsql-hackers
Michael, thanks a lot for the detailed explanation.

> On 26 Feb 2025, at 11:57, Maxim Orlov <orlovmg@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
easierto understand when elog() was near, but now IMO we can have few words about what is going on. 


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Jacob Brazeal
Date:
Subject: Re: Experimental tool to explore commitfest patches
Next
From: Jakub Wartak
Date:
Subject: Re: Draft for basic NUMA observability