Messages in this thread | | | From | Hans de Goede <> | 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 |
| |
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.
| |