pgsql: Trust signalfd on illumos, again.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Trust signalfd on illumos, again.
Date: 2023-07-02 03:31:01
Message-ID: E1qFnnh-001Smx-CA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Trust signalfd on illumos, again.

Commit 3ab4fc5d avoided choosing signalfd by default on illumos, because
it triggered kernel panics. That was fixed, so we can remove a kludge
from our code. Users/packagers can still override the default choice at
compile time if desired, and we'll leave the back-branches unchanged so
they keep choosing self-pipe by default, but we'll default to signalfd
(like we do for Linux) in 17. Fixed kernels should be everywhere by the
time 17 ships.

The illumos issues were:

* https://www.illumos.org/issues/13700
* https://www.illumos.org/issues/14892

Discussion: https://postgr.es/m/CA+hUKG+NK-K_G_i1H3OpDTwYPEsiwQi_jw58PGcW2H+-N2eVCA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4f49b3f8497d5c8c3cc06eb32942c13b8ee7209e

Modified Files
--------------
src/backend/storage/ipc/latch.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2023-07-02 08:21:33 pgsql: Minor cleanups in the BRIN code
Previous Message Noah Misch 2023-07-01 17:02:11 pgsql: Fix test of pg_stat_io for wal_level=minimal.