mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Al Viro <viro@zeniv.linux.org.uk>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH for 3.4] poll: add poll_requested_events() and poll_does_not_wait() functions
Date: Mon, 19 Mar 2012 21:48:59 +0100	[thread overview]
Message-ID: <1332190140-16090-1-git-send-email-hdegoede@redhat.com> (raw)

Hi Linus,

The attached patch adds the useful functionality for drivers to be able to
tell which events are being polled for when their poll function gets called.

It has been reviewed by Al Viro, and he sees no problems with it. Al has asked
me to send this patch directly to you because he believes you should make the
decision on merging this, as it may break drivers not in the mainline.

This patch is esp. useful for the v4l subsystem, and it has been ready and
waiting for merging in one form or another for 2 full release-cycles now (*),
so we (the v4l devs) would very much like to get this upstream for 3.4 .

Note that I'm not the original author of this patch, the original author is
Hans Verkuil, who unfortunately won't be able to do kernel development for
a while due to personal circumstances.

Thanks & Regards,

Hans


*) Although the adding of this functionality is uncontroversial, getting this
patch upstream has been troublesome since it touches some pretty core code,
and it was hard to find the right person to review and sign-off on it.

             reply	other threads:[~2012-03-19 20:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19 20:48 Hans de Goede [this message]
2012-03-19 20:49 ` [PATCH] " Hans de Goede

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=1332190140-16090-1-git-send-email-hdegoede@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=torvalds@linux-foundation.org \
    --cc=viro@zeniv.linux.org.uk \
    /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®