From: bert hubert <ahu@ds9a.nl>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Hanna Linder <hannal@us.ibm.com>,
Janet Morgan <janetmor@us.ibm.com>,
Marius Aamodt Eriksen <marius@citi.umich.edu>,
Shailabh Nagar <nagar@watson.ibm.com>,
Niels Provos <provos@citi.umich.edu>
Subject: Re: [patch, rfc] lt-epoll ( level triggered epoll ) ...
Date: Wed, 12 Mar 2003 13:05:39 +0100 [thread overview]
Message-ID: <20030312120539.GA25626@outpost.ds9a.nl> (raw)
In-Reply-To: <Pine.LNX.4.50.0303111015370.1855-100000@blue1.dev.mcafeelabs.com>
On Tue, Mar 11, 2003 at 10:20:38AM -0800, Davide Libenzi wrote:
> > Most programs will not abandon 'legacy' interfaces like poll and select and
> > will only want to offer epoll in addition. Right now that is hard to do.
>
> I agree here. It took 15 minutes to port thttpd to LT epoll.
Having level ability will massively speed up epoll adoption. By the way, was
there a reason to go to edge in the first place?
> I received a bunch of private emails ( ppl that are using ET epoll )
> asking me to have both behaviours. The code require no more than 10 lines
> of code to give both possibilities. We have two options in doing that :
Impressive.
> We add a parameter to epoll_create() that will set the interface behaviour
> at creation time :
...
> We can go at fd granularity by leaving the API the same, and we define :
> #define EPOLLET (1 << 31)
This last option would retain the current ABI *and* semantics for unchanged
programs. I do wonder if there is a case where you'd want to run in mixed
mode, however. But if the code to support mixed operation is truly trivial,
I think we should not set policy from the kernel ('only do epoll in one
mode') and leave it up to userspace to discover if there is a use for this.
Anyhow, as a member of the kCowSay [1] association of userspace people
meddling in the affairs of kernel coders, I vote strongly for having level
triggered epoll on the kernel, with the ability to do mixed mode.
Regards,
bert
[1] Founded by John Levon on the assumption that kernel coders assume all
userspace code to be trivial, so we should have a massively trivial
name. kCowSay tries to educate kernel deities about the needs of us
userspace dwellers.
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
http://netherlabs.nl Consulting
next prev parent reply other threads:[~2003-03-12 11:54 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-10 20:15 Davide Libenzi
2003-03-11 4:32 ` Niels Provos
2003-03-11 18:15 ` Davide Libenzi
2003-03-11 20:04 ` Niels Provos
2003-03-12 18:05 ` Martin Waitz
2003-03-12 18:36 ` Davide Libenzi
2003-03-11 9:34 ` bert hubert
2003-03-11 18:20 ` Davide Libenzi
2003-03-12 12:05 ` bert hubert [this message]
2003-03-12 17:17 ` Davide Libenzi
2003-03-11 14:24 ` Jamie Lokier
2003-03-11 18:27 ` Davide Libenzi
2003-03-11 16:10 ` Giuliano Pochini
2003-03-11 18:34 ` Davide Libenzi
2003-03-12 18:08 ` Martin Waitz
2003-03-12 18:30 ` Davide Libenzi
2003-03-12 19:21 ` Martin Waitz
2003-03-12 19:39 ` Davide Libenzi
2003-03-12 19:57 ` Martin Waitz
[not found] ` <20030311142447.GA14931@bjl1.jlokier.co.uk.lucky.linux.kernel>
2003-03-14 15:59 ` Valentin Nechayev
2003-03-14 16:53 ` Davide Libenzi
2003-03-14 17:56 ` Tim Smith
2003-03-14 19:01 ` Davide Libenzi
[not found] <local.mail.linux-kernel/Pine.LNX.4.50.0303101139520.1922-100000@blue1.dev.mcafeelabs.com>
[not found] ` <local.mail.linux-kernel/20030311142447.GA14931@bjl1.jlokier.co.uk.lucky.linux.kernel>
[not found] ` <local.mail.linux-kernel/20030314155947.GD13106@netch.kiev.ua>
2003-03-14 21:43 ` [patch, rfc] lt-epoll ( level triggered epoll ) ... X-Newsgroups: local.mail.linux-kernel In-Reply-To: <local.mail.linux-kernel/Pine.LNX.4.50.0303140845480.1903-100000@blue1.dev.mcafeelabs.com> Jonathan Lemon
2003-03-14 22:16 ` [patch, rfc] lt-epoll ( level triggered epoll ) Davide Libenzi
2003-03-14 22:27 ` Jonathan Lemon
2003-03-14 22:57 ` Davide Libenzi
2003-03-14 23:36 ` Jonathan Lemon
2003-03-15 0:06 ` Davide Libenzi
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030312120539.GA25626@outpost.ds9a.nl \
--to=ahu@ds9a.nl \
--cc=davidel@xmailserver.org \
--cc=hannal@us.ibm.com \
--cc=janetmor@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marius@citi.umich.edu \
--cc=nagar@watson.ibm.com \
--cc=provos@citi.umich.edu \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®