GNU bug report logs -
#24756
26.0.50; Emacs should not use pselect
Previous Next
Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>
Date: Fri, 21 Oct 2016 15:42:01 UTC
Severity: wishlist
Found in version 26.0.50
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 24756-done <at> debbugs.gnu.org (full text, mbox):
Philipp Stephani <p.stephani2 <at> gmail.com> writes:
> Philipp Stephani <p.stephani2 <at> gmail.com> schrieb am Fr., 21. Okt. 2016 um 17:42 Uhr:
>
> Emacs uses pselect for IO multiplexing, limiting the number of available
> file descriptors to FD_SETSIZE. Rather, epoll/kqueue should be used, if
> available.
>
> Some good counter-arguments were brought up:
> - pselect is in the POSIX standard, whereas the possible replacements (ppoll/epoll/kqueue) are not.
> - The file descriptor limit should only be hit in pathological cases, e.g. when leaking background processes, and is only a symptom of a bug somewhere else. A higher FD limit would only hide the symptom, but not fix the underlying root cause.
>
> Given that, I'm no longer convinced that switching away from pselect would be a good idea (but I'll leave this bug open for now to provide a space for discussion).
That was three years ago, and no such discussion has taken place here.
If there is a continued need to discuss this, perhaps it's better to
take it to emacs-devel. I'm therefore closing this bug report.
If anyone disagrees, they should feel free to reopen.
Best regards,
Stefan Kangas
This bug report was last modified 5 years and 293 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.