epoll keyed wakeups: make sockets use keyed wakeups
authorDavide Libenzi <davidel@xmailserver.org>
Tue, 31 Mar 2009 22:24:21 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <davidel@xmailserver.org>
Acked-by: 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>
net/core/sock.c