Re: SO_REUSEPORT - can it be done in kernel?

Herbert Xu
2011-03-01T13:58:54Z

On Tue, Mar 01, 2011 at 02:52:46PM +0100, Eric Dumazet wrote:
> Le mardi 01 mars 2011 à 21:18 +0800, Herbert Xu a écrit :
>
> > Interesting. So I wonder which lock is showing up at the top
> > of the profile with a single socket then. As it's definitely
> > going away with multiple sockets, that means it's not the TX
> > queue lock.
> >
>
> This CPU also runs named process, so this is socket lock and receive
> queue lock.

It can't be the socket lock because it's an IRQ-disabling variant.
The receive queue lock, I'll buy that.

Cheers,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt