From: Al Viro <viro@ZenIV.linux.org.uk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
linux-arch <linux-arch@vger.kernel.org>
Subject: Re: [git pull] vfs.git: poll annotations
Date: Wed, 31 Jan 2018 17:50:01 +0000 [thread overview]
Message-ID: <20180131175001.GA1433@ZenIV.linux.org.uk> (raw)
In-Reply-To: <20180131044620.GF29051@ZenIV.linux.org.uk>
On Wed, Jan 31, 2018 at 04:46:20AM +0000, Al Viro wrote:
> MSG and REMOVE are never triggered, so it's all down to {WR{NORM,BAND},RDHUP}.
Actually, POLLREMOVE is an amusing story (FSVO amusing): it's a part of
UnixWare /dev/poll ABI. It had _not_ lasted in Linux - epoll_ctl()
EPOLL_CTL_DEL is used for the same purpose. Chronology:
Oct 29 2002: davidel introduces it into the tree (and defines for i386)
Oct 31 2002: jgarzik has noticed broken alpha build and added definition
within a few hours the same had been done for itanic (davidm)
afternoon of the same day: Alan's merge of v850 adds definition there
Nov 1 2002: rmk adds definition for arm
Nov 2 2002: anton does the same for ppc64
Nov 2 2002: ak does the same for amd64
Nov 2 2002: davidel removes the sole user of that thing.
But that, of course, does not stop the propagation of the (now and forever)
useless definition - the same day it infects m68k; next day it's
parisc and sparc. On Nov 8 it hits ppc32, Nov 17 - s390.
In June 2003 mips gets it, in July sh is brought in with that
thing already in it and the damn thing spreads to cris. And so it goes;
the last flash of infection had been in 2007 when asm-generic/poll.h
had been introduced.
Its only user has lasted in the tree for four days. Definitions
will probably stay forever...
next prev parent reply other threads:[~2018-01-31 17:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-30 18:39 [git pull] vfs.git: poll annotations Al Viro
2018-01-31 2:21 ` Linus Torvalds
2018-01-31 3:13 ` Al Viro
2018-01-31 3:19 ` Linus Torvalds
2018-01-31 4:46 ` Al Viro
2018-01-31 17:50 ` Al Viro [this message]
2018-02-01 22:00 ` Al Viro
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=20180131175001.GA1433@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=linux-arch@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.