[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121205.162620.378864065213200277.davem@davemloft.net>
Date:	Wed, 05 Dec 2012 16:26:20 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ipv6: avoid taking locks at socket dismantle
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 05 Dec 2012 11:18:10 -0800
> From: Eric Dumazet <edumazet@...gle.com>
> 
> ipv6_sock_mc_close() is called for ipv6 sockets at close time, and most
> of them don't use multicast.
> 
> Add a test to avoid contention on a shared spinlock.
> 
> Same heuristic applies for ipv6_sock_ac_close(), to avoid contention
> on a shared rwlock.
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
--
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
 
