Re: [PATCH 0/6] Add poll_requested_events() function.

From: Hans Verkuil
Date: Fri Feb 03 2012 - 04:41:12 EST

On Friday, February 03, 2012 10:28:39 Hans Verkuil wrote:
> Hi all,
> This is the eighth version of this patch series and the last as far as
> I am concerned.
> See this link for the previous version and the associated thread:
> The changes compared to version 7 are:
> - rebased to the linux-media staging/for_v3.4 branch.
> - renamed the poll_table fields to _qproc and _key as per Andrew's suggestion.
> - all poll changes are back in one patch (the first). With the renaming of
> fields it made more sense to have it as one patch.
> - added the video4linux changes as well that depend on this new poll
> behavior. This makes it ready to be merged in linux-media and linux-next.
> Mauro, can you get this patch series in linux-next as soon as possible?
> If anyone has any problems/comments/remarks regarding this patch series,
> then please speak up now and not one day before the 3.4 merge window opens...

I forgot to mention that this patch series is also available in git:

The following changes since commit 59b30294e14fa6a370fdd2bc2921cca1f977ef16:

Merge branch 'v4l_for_linus' into staging/for_v3.4 (2012-01-23 18:11:30 -0200)

are available in the git repository at:

git:// pollv8

Hans Verkuil (6):
poll: add poll_requested_events() and poll_does_not_wait() functions
ivtv: only start streaming in poll() if polling for input.
videobuf2: only start streaming in poll() if so requested by the poll mask.
videobuf: only start streaming in poll() if so requested by the poll mask.
videobuf2-core: also test for pending events.
vivi: let vb2_poll handle events.

drivers/media/video/ivtv/ivtv-fileops.c | 6 ++-
drivers/media/video/videobuf-core.c | 3 +-
drivers/media/video/videobuf2-core.c | 48 +++++++++++++++++++++---------
drivers/media/video/vivi.c | 9 +-----
fs/eventpoll.c | 18 +++++++++--
fs/select.c | 40 +++++++++++--------------
include/linux/poll.h | 37 ++++++++++++++++++++----
include/net/sock.h | 2 +-
net/unix/af_unix.c | 2 +-
9 files changed, 106 insertions(+), 59 deletions(-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at