[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+rthh_B-eZ6xjW+ZmcUuHjZy-Mw4v6NUPypWLn2W9nfjyOZ7Q@mail.gmail.com>
Date: Wed, 4 Mar 2015 22:26:12 +0100
From: Mathias Krause <minipli@...glemail.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Olivier Mauras <olivier@...ras.ch>,
PaX Team <pageexec@...email.hu>
Subject: Re: [PATCH net] af_unix: don't poll dead peers
[ Removed Rainer from the Cc list, his address is bouncing. ]
On 4 March 2015 at 22:02, Eric Dumazet <eric.dumazet@...il.com> wrote:
> On Wed, 2015-03-04 at 21:39 +0100, Mathias Krause wrote:
>> On 4 March 2015 at 21:21, Eric Dumazet <eric.dumazet@...il.com> wrote:
>> >
>> > Using locks in _poll() is going to be tremendously expensive for some
>> > applications still using poll() or select() ?
>>
>> I've no idea but we're already taking this very lock in the
>> unix_peer_get() call a few lines above.
>
> This is not the same lock.
>
> other != sk
True. So, do you propose to not take the lock at all?
--
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