From: Bastien Roucariès <rouca@debian.org>
To: Thomas Munro <thomas.munro@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Detection of hadware feature => please do not use signal
Date: Fri, 01 Nov 2024 10:20:03 +0000
Message-ID: <7915750.ZPPAYPQ7GT@portable-bastien> (raw)
In-Reply-To: <1637254.1730441792@sss.pgh.pa.us>
References: <4496616.iHFcN1HehY@portable-bastien>
<1624905.1730436275@sss.pgh.pa.us>
<1637254.1730441792@sss.pgh.pa.us>
Le vendredi 1 novembre 2024, 06:16:32 UTC Tom Lane a écrit :
> I wrote:
> > Hmm. So it seems like we could do this:
> > * Linux, FreeBSD, OpenBSD: do run-time test as recommended
> > * Windows, macOS: assume that supported ARM hardware can do this
> > * anything else: assume no hardware CRC
>
> Actually, after chewing on that second point awhile longer,
> how about this modest proposal:
>
> * Drop all code for run-time determination of ARM CRC support.
> Assume it's there unless user builds with a -march option that
> says it definitely isn't.
>
> Realistically, exactly who is going to be running Postgres 18+
> on ARM hardware that lacks CRC support? I can think of lots of
> projects that are more worthy of our time than this.
>
> (Perhaps it's time to apply the same mindset to x86 CRC support
> too?)
arm64 baseline for debian is without CRC so I will prefer to keep crc32
Bastien
>
> regards, tom lane
>
Attachments:
[application/pgp-signature] signature.asc (832B, ../7915750.ZPPAYPQ7GT@portable-bastien/2-signature.asc)
download
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 using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: rouca@debian.org, thomas.munro@gmail.com, tgl@sss.pgh.pa.us, hlinnaka@iki.fi, pgsql-bugs@lists.postgresql.org
Subject: Re: Detection of hadware feature => please do not use signal
In-Reply-To: <7915750.ZPPAYPQ7GT@portable-bastien>
* 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