Re: remove WaitEventCustomCounterData - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: remove WaitEventCustomCounterData
Date
Msg-id ak8d1aEHqtAdHi7k@paquier.xyz
Whole thread
Responses Re: remove WaitEventCustomCounterData
List pgsql-hackers
On Wed, Jul 08, 2026 at 09:50:33PM -0500, Nathan Bossart wrote:
> While trying to understand the extent of our spinlock usage, I noticed that
> WaitEventCustomCounterData->mutex is unnecessary because the counter is
> only ever accessed with WaitEventCustomLock held exclusively.  So, here's a
> patch to simplify matters a bit.  Thoughts?

Indeed.  This removal sounds good to me, thanks.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Truncate logs by max_log_size
Next
From: Bertrand Drouvot
Date:
Subject: Re: Add per-backend AIO statistics