[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080617113509.GA8982@2ka.mipt.ru>
Date: Tue, 17 Jun 2008 15:35:11 +0400
From: Evgeniy Polyakov <johnpol@....mipt.ru>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: all this business about ->sk_sleep
Hi.
On Tue, Jun 17, 2008 at 02:54:46AM -0700, David Miller (davem@...emloft.net) wrote:
> net/unix/af_unix.c: newsk->sk_sleep = &newu->peer_wait;
>
> The only thing that uses something other than &sk->sk_socket->wait
> for sk->sk_sleep is AF_UNIX. So that's a useful discovery and
> we may be able to get rid of sk->sk_sleep somehow. I'll try to
> launch a full investiation into how and why AF_UNIX uses a special
> wait queue.
Its 'pipe way', which allows to wake reader when performing write
on writer and vice versa.
--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists