diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-29 16:44:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-08 16:50:08 -0500 |
commit | 67426b756c4d52c511c4b22b269accea171692a8 (patch) | |
tree | 60c640a4b103946d706671ccc2d12fc0d23ed544 /drivers/parport/Kconfig | |
parent | fc766e4c4965915ab52a1d1fa3c7a7b3e7bc07f0 (diff) |
af_unix: use keyed wakeups
Instead of wakeup all sleepers, use wake_up_interruptible_sync_poll() to
wakeup only ones interested into writing the socket.
This patch is a specialization of commit 37e5540b3c9d (epoll keyed
wakeups: make sockets use keyed wakeups).
On a test program provided by Alan Crequy :
Before:
real 0m3.101s
user 0m0.000s
sys 0m6.104s
After:
real 0m0.211s
user 0m0.000s
sys 0m0.208s
Reported-by: Alban Crequy <alban.crequy@collabora.co.uk>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/parport/Kconfig')
0 files changed, 0 insertions, 0 deletions