epoll keyed wakeups: make sockets use keyed wakeups
authorDavide Libenzi <[email protected]>
Tue, 31 Mar 2009 22:24:21 +0000 (15:24 -0700)
committerLinus Torvalds <[email protected]>
Wed, 1 Apr 2009 15:59:20 +0000 (08:59 -0700)
commit37e5540b3c9d838eb20f2ca8ea2eb8072271e403
treef1788aef6d73d2334e739da7ca87f2900285c262
parentc0da37753695e010776ccf2200a5731e0f88a9f3
epoll keyed wakeups: make sockets use keyed wakeups

Add support for event-aware wakeups to the sockets code.  Events are
delivered to the wakeup target, so that epoll can avoid spurious wakeups
for non-interesting events.

Signed-off-by: Davide Libenzi <[email protected]>
Acked-by: 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]>
net/core/sock.c