]> Git Repo - linux.git/commit
epoll keyed wakeups: teach epoll about hints coming with the wakeup key
authorDavide Libenzi <[email protected]>
Tue, 31 Mar 2009 22:24:22 +0000 (15:24 -0700)
committerLinus Torvalds <[email protected]>
Wed, 1 Apr 2009 15:59:20 +0000 (08:59 -0700)
commit2dfa4eeab0fc7e8633974f2770945311b31eedf6
treede372dc3955bb8ab2dec1b50f4292f367fa4e22f
parent37e5540b3c9d838eb20f2ca8ea2eb8072271e403
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).

[[email protected]: coding-style fixes]
Signed-off-by: Davide Libenzi <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: David Miller <[email protected]>
Cc: William Lee Irwin III <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/eventpoll.c
This page took 0.045819 seconds and 4 git commands to generate.