From: Eric Dumazet Date: Fri, 29 Oct 2010 20:44:44 +0000 (+0000) Subject: af_unix: use keyed wakeups X-Git-Tag: v2.6.38-rc1~476^2~622 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67426b756c4d52c511c4b22b269accea171692a8;p=pandora-kernel.git 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 Signed-off-by: Eric Dumazet Cc: Davide Libenzi Signed-off-by: David S. Miller --- Reading git-diff-tree failed