aboutsummaryrefslogtreecommitdiffstats
path: root/fs/eventfd.c
diff options
context:
space:
mode:
authorDavide Libenzi <davidel@xmailserver.org>2009-03-31 15:24:22 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-01 08:59:20 -0700
commit2dfa4eeab0fc7e8633974f2770945311b31eedf6 (patch)
treede372dc3955bb8ab2dec1b50f4292f367fa4e22f /fs/eventfd.c
parent37e5540b3c9d838eb20f2ca8ea2eb8072271e403 (diff)
downloadkernel_samsung_smdk4412-2dfa4eeab0fc7e8633974f2770945311b31eedf6.zip
kernel_samsung_smdk4412-2dfa4eeab0fc7e8633974f2770945311b31eedf6.tar.gz
kernel_samsung_smdk4412-2dfa4eeab0fc7e8633974f2770945311b31eedf6.tar.bz2
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 <davidel@xmailserver.org> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Ingo Molnar <mingo@elte.hu> Cc: David Miller <davem@davemloft.net> Cc: William Lee Irwin III <wli@movementarian.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions