remove WaitEventCustomCounterData

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: michael(at)paquier(dot)xyz
Subject: remove WaitEventCustomCounterData
Date: 2026-07-09 02:50:33
Message-ID: ak8MeTS9QBmz6DKt@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

--
nathan

Attachment Content-Type Size
v1-0001-remove-WaitEventCustomCounterData.patch text/plain 3.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2026-07-09 03:28:02 Re: [PATCH] Preserve replication origin OIDs in pg_upgrade
Previous Message Jeremy Schneider 2026-07-09 02:49:51 Re: hang during shutdown