From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use ISB as a spin-delay instruction on ARM64.
Date: Wed, 06 Apr 2022 22:58:32 +0000
Message-ID: <E1ncEbf-000e44-JP@gemulon.postgresql.org> (raw)
Use ISB as a spin-delay instruction on ARM64.
This seems beneficial on high-core-count machines, and not harmful
on lesser hardware. However, older ARM32 gear doesn't have this
instruction, so restrict the patch to ARM64.
Geoffrey Blake
Discussion: https://postgr.es/m/78338F29-9D7F-4DC8-BD71-E9674CE71425@amazon.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a82a5eee314df52f3183cedc0ecbcac7369243b1
Modified Files
--------------
src/include/storage/s_lock.h | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Use ISB as a spin-delay instruction on ARM64.
In-Reply-To: <E1ncEbf-000e44-JP@gemulon.postgresql.org>
References: <E1ncEbf-000e44-JP@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox