]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdafee6c4b6e1b204cc7a77ad56fa1fdc92a3dd6d
treef1788aef6d73d2334e739da7ca87f2900285c262
parentbf509b81514f928a507f0690de59a023d88bdabe
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