[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1340786710.26242.37.camel@edumazet-glaptop>
Date: Wed, 27 Jun 2012 10:45:10 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: David Miller <davem@...emloft.net>, hans.schillstrom@...csson.com,
subramanian.vijay@...il.com, dave.taht@...il.com,
netdev@...r.kernel.org, ncardwell@...gle.com, therbert@...gle.com,
mph@...h.dk
Subject: Re: [PATCH v2 net-next] tcp: avoid tx starvation by SYNACK packets
On Wed, 2012-06-27 at 10:21 +0200, Jesper Dangaard Brouer wrote:
> It works because we have a spinlock problem in the code... Perhaps, they
> did it, because we have have locking/contention problem, not the other
> way around ;-) How about fixing the code instead? ;-)))
The socket lock is currently mandatory.
It's really _hard_ to remove it, your attempts added a lot of races.
I want to do it properly, adding needed RCU and array of spinlocks were
appropriate.
Hopefully, its easier than the RCU conversion I did for the lookups of
ESTABLISHED/TIMEWAIT sockets.
--
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