model-writtenrun 4404 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Japin Li reported PostgreSQL 14 queries stuck in message-queue waits despite termination requests in #1; Justin Pryzby requested a core dump and platform details in #2, and Robert Haas proposed inspecting interrupt handling and the unexpected ioctl stack frame in #4.
- Thomas Munro connected the ioctl frame to illumos's epoll emulation and suspected signalfd-related hangs and kernel panics in #5, initially recommending WAIT_USE_POLL; Japin subsequently confirmed the system was SmartOS, based on illumos, in #8.
- Thomas proposed retaining epoll while switching illumos to self-pipe wakeups in #6, then completed the separation with independent compile-time overrides and additional self-pipe handling in #7.
- Japin recommended identifying illumos specifically instead of the broader Sun platform family in #10, and Thomas incorporated that change in #11, explaining that the workaround was justified by existing kernel reports even though Japin's precise failure remained unconfirmed.
- Thomas landed #11 with an expanded commit message as 3ab4fc5dcf and announced the master and PostgreSQL 14 backport in #12, allowing illumos build-farm owners to stop forcing poll.
- Thomas reported in #13 that the original illumos kernel issue had been fixed, but a second issue still prevented removing PostgreSQL's workaround.
- After noticing the remaining kernel fix, Thomas submitted #14 to restore signalfd by default on illumos while preserving compile-time overrides and leaving stable branches unchanged; the last thread message proposed PostgreSQL 16 or 17 and placed the cleanup into the commitfest.
- The cleanup from #14 subsequently landed as 4f49b3f849 with identical code changes and a revised commit message targeting PostgreSQL 17, completing both changes represented in this thread.