model-writtenrun 7721 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro proposed reducing latch system calls in #1, combining Andres Freund's sleeping-state optimization with Linux and BSD/macOS self-pipe removal; he chose SIGURG to avoid interfering with existing SIGUSR1 and SIGUSR2 uses.
- After three months, Thomas rebased the series in #2, showed reduced syscall traces on FreeBSD, and questioned the signal-mask API and continued use of SIGUSR1 on other Unix platforms.
- Thomas reworked the series in #3 to use SIGURG throughout Unix latch support and centralize signal setup in InitializeLatchSupport(); an off-list suggestion prompted replacing Linux epoll_pwait() with signalfd despite its need for draining.
- The revision in #4 addressed cfbot portability problems, removed an assertion, and introduced shared draining logic with error handling for self-pipes and signalfd.
- Thomas returned with #5, incorporating Andres Freund's fixes for EXEC_BACKEND hangs and glibc's expensive raise() implementation, and announced his intention to commit.
- The sleeping-state optimization and SIGURG migration from #5 landed unchanged as c8f3bc2401 and 83709a0d5a.
- The remaining patches from #5 landed as 6a2a70a020, with close-on-exec protection and cleanup added to signalfd setup, and 6148656a0b, with only whitespace and context adjustments to the kqueue patch; Thomas confirmed the push in #6.
- Thomas reported the loss of Solaris-family buildfarm coverage in #7, and Alvaro Herrera subsequently reported that two replacement illumos members failed initdb on signalfd in #8.
- Thomas explained in #9 that illumos zones lacked /dev/signalfd, causing ENOENT, and proposed falling back to WAIT_USE_POLL if the platform problem could not be fixed.
- Thomas confirmed that the illumos members were green in #10 and linked the illumos issue, leaving all four patches committed with no outstanding failure reported in the thread.