[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171113.101318.657661614790465117.davem@davemloft.net>
Date: Mon, 13 Nov 2017 10:13:18 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: fruggeri@...sta.com
Cc: yoshfuji@...ux-ipv6.org, kuznet@....inr.ac.ru,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2] ipv6: try not to take rtnl_lock in
ip6mr_sk_done
From: fruggeri@...sta.com (Francesco Ruggeri)
Date: Wed, 08 Nov 2017 11:23:46 -0800
> Avoid traversing the list of mr6_tables (which requires the
> rtnl_lock) in ip6mr_sk_done(), when we know in advance that
> a match will not be found.
> This can happen when rawv6_close()/ip6mr_sk_done() is invoked
> on non-mroute6 sockets.
> This patch helps reduce rtnl_lock contention when destroying
> a large number of net namespaces, each having a non-mroute6
> raw socket.
>
> v2: same patch, only fixed subject line and expanded comment.
>
> Signed-off-by: Francesco Ruggeri <fruggeri@...sta.com>
Applied, thanks.
Powered by blists - more mailing lists