mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: Ben Greear <greearb@candelatech.com>,
	Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: poll
Date: Thu, 17 Jun 2004 20:42:16 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.53.0406172041150.3581@chaos> (raw)
In-Reply-To: <Pine.LNX.4.58.0406171726000.24496@bigblue.dev.mdolabs.com>

On Thu, 17 Jun 2004, Davide Libenzi wrote:

> On Thu, 17 Jun 2004, Richard B. Johnson wrote:
>
> > This all works fine-and-dandy with kernel 2.4.26. However, Linux
> > has a history of removing availability of undefined things.
>
> It'd work just fine in 2.6. The poll infrastructure is just a proxy to the
> event core, and shouldn't mask anything. Your driver's f_op->poll will
> return a mask, and this will be and'ed with the mask that you pass to poll(2).
> Non-zero results will be reported to you. Just do not use bits 30 and 31
> if you want it to work with epoll.
>
> - Davide
>

Thanks. That's what I wanted to hear.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.26 on an i686 machine (5570.56 BogoMips).
            Note 96.31% of all statistics are fiction.



  reply	other threads:[~2004-06-18  0:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-17 14:05 poll Richard B. Johnson
2004-06-17 22:34 ` poll Ben Greear
2004-06-18  0:19   ` poll Richard B. Johnson
2004-06-18  0:32     ` poll Davide Libenzi
2004-06-18  0:42       ` Richard B. Johnson [this message]
2004-06-18  2:24     ` poll Ben Greear
2004-06-18 11:22       ` poll Richard B. Johnson

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=Pine.LNX.4.53.0406172041150.3581@chaos \
    --to=root@chaos.analogic.com \
    --cc=davidel@xmailserver.org \
    --cc=greearb@candelatech.com \
    --cc=linux-kernel@vger.kernel.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 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®