[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110226024848.GA20993@gondor.apana.org.au>
Date: Sat, 26 Feb 2011 10:48:48 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Miller <davem@...emloft.net>
Cc: rick.jones2@...com, tgraf@...radead.org, therbert@...gle.com,
wsommerfeld@...gle.com, daniel.baluta@...il.com,
netdev@...r.kernel.org
Subject: Re: SO_REUSEPORT - can it be done in kernel?
On Fri, Feb 25, 2011 at 06:12:44PM -0800, David Miller wrote:
>
> We take the lock unconditionally because we essentially have to after
> UDP takes on the socket buffer accounting facilities similar to TCP.
Well I just checked out the history tree (2.6.12) and it too had
the unconditional lock on the send path. So this predates the
system-wide buffer limit change.
I'm looking at redoing this and the bulk of the work is going to
be restructuring ip_append_data/ip_push_pending_frames so that it
doesn't store the states in sk/inet_sk.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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