From: Davide Libenzi Date: Tue, 31 Mar 2009 22:24:22 +0000 (-0700) Subject: epoll keyed wakeups: teach epoll about hints coming with the wakeup key X-Git-Tag: v2.6.30-rc1~518 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dfa4eeab0fc7e8633974f2770945311b31eedf6;p=pandora-kernel.git epoll keyed wakeups: teach epoll about hints coming with the wakeup key Use the events hint now sent by some devices, to avoid unnecessary wakeups for events that are of no interest for the caller. This code handles both devices that are sending keyed events, and the ones that are not (and event the ones that sometimes send events, and sometimes don't). [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Davide Libenzi Cc: Alan Cox Cc: Ingo Molnar Cc: David Miller Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed