From: Philipp Stephani <p.stephani2@gmail.com>
To: 24756@debbugs.gnu.org
Subject: bug#24756: 26.0.50; Emacs should not use pselect
Date: Tue, 25 Oct 2016 11:45:22 +0000 [thread overview]
Message-ID: <CAArVCkTcFWUjonQSFG4fxz-kmCL4UEJWvQo82Jod=9tPKVmEBQ@mail.gmail.com> (raw)
In-Reply-To: <wvr48tthu2u6.fsf@a.muc.corp.google.com>
[-- Attachment #1: Type: text/plain, Size: 808 bytes --]
Philipp Stephani <p.stephani2@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).
[-- Attachment #2: Type: text/html, Size: 1243 bytes --]
next prev parent reply other threads:[~2016-10-25 11:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-21 15:41 bug#24756: 26.0.50; Emacs should not use pselect Philipp Stephani
2016-10-25 11:45 ` Philipp Stephani [this message]
2019-09-29 4:02 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAArVCkTcFWUjonQSFG4fxz-kmCL4UEJWvQo82Jod=9tPKVmEBQ@mail.gmail.com' \
--to=p.stephani2@gmail.com \
--cc=24756@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).