netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] Introduce net_rwsem to protect net_namespace_list
@ 2018-03-29 16:20 Kirill Tkhai
       [not found] ` <152234005959.19153.17907173734141707348.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Kirill Tkhai @ 2018-03-29 16:20 UTC (permalink / raw)
  To: dledford-H+wXaHxf7aLQT0dZR+AlfA, jgg-uk2M96/98Pc,
	davem-fT/PcQaiUtIeIZ0/mPfg9Q, pablo-Cap9r6Oaw4JrovVCs/uTlw,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	fw-HFFVJYpyMKqzQB+pC5nmwQ, pshelar-LZ6Gd1LRuIk,
	johannes-cdvu00un1VgdHxzADdlk8Q, paul-r2n+y4ga6xFZroRs9YW3xA,
	sds-+05T5uksL2qpZYMLLGbcSA, eparis-FjpueFixGhCM4zKIHC2jIg,
	jmorris-gx6/JNMH7DfYtjvyW6yDsg, serge-A9i7LUbDfNHQT0dZR+AlfA,
	leon-DgEjT+Ai2ygdnm+yROfE0A, yuval.shaia-QHcLZuEGTsvQT0dZR+AlfA,
	parav-VPRAkNaXOzVWk0Htik3J/w, danielj-VPRAkNaXOzVWk0Htik3J/w,
	ktkhai-5HdwGun5lf+gSpxsJD1C4w, majd-VPRAkNaXOzVWk0Htik3J/w,
	nicolas.dichtel-pdR9zngts4EAvxtiuMwx3w,
	vyasevic-H+wXaHxf7aLQT0dZR+AlfA,
	paulmck-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8,
	vyasevich-Re5JQEeQqe8AvxtiuMwx3w,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	daniel-FeC+5ew28dpmcu3hnIyYJQ,
	jakub.kicinski-wFxRvT7yatFl57MIdRCFDg, ast-DgEjT+Ai2ygdnm+yROfE0A,
	brouer-H+wXaHxf7aLQT0dZR+AlfA,
	linux-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg,
	john.fastabend-Re5JQEeQqe8AvxtiuMwx3w,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w, jiri-VPRAkNaXOzVWk0Htik3J/w,
	idosch-VPRAkNaXOzVWk0Htik3J/w, vvs-5HdwGun5lf+gSpxsJD1C4w,
	avagin-5HdwGun5lf+gSpxsJD1C4w, roman.kapl-uSbOeAmDUekAvxtiuMwx3w,
	lucien.xin-Re5JQEeQqe8AvxtiuMwx3w,
	christian.brauner-GeWIH/nMZzLQT0dZR+AlfA,
	jbenc-H+wXaHxf7aLQT0dZR+AlfA, pombredanne-od1rfyK75/E, linux-rdma

The series introduces fine grained rw_semaphore, which will be used
instead of rtnl_lock() to protect net_namespace_list.

This improves scalability and allows to do non-exclusive sleepable
iteration for_each_net(), which is enough for most cases.

scripts/get_maintainer.pl gives enormous list of people, and I add
all to CC.

Note, that this patch is independent of "Close race between
{un, }register_netdevice_notifier and pernet_operations":
https://patchwork.ozlabs.org/project/netdev/list/?series=36495

Signed-off-by: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
---

Kirill Tkhai (5):
      net: Introduce net_rwsem to protect net_namespace_list
      net: Don't take rtnl_lock() in wireless_nlevent_flush()
      security: Remove rtnl_lock() in selinux_xfrm_notify_policyload()
      ovs: Remove rtnl_lock() from ovs_exit_net()
      net: Remove rtnl_lock() in nf_ct_iterate_destroy()


 drivers/infiniband/core/roce_gid_mgmt.c |    2 ++
 include/linux/rtnetlink.h               |    1 +
 include/net/net_namespace.h             |    1 +
 net/core/dev.c                          |    5 +++++
 net/core/fib_notifier.c                 |    2 ++
 net/core/net_namespace.c                |   18 +++++++++++++-----
 net/core/rtnetlink.c                    |    5 +++++
 net/netfilter/nf_conntrack_core.c       |    4 ++--
 net/openvswitch/datapath.c              |    4 ++--
 net/wireless/wext-core.c                |    6 ++----
 security/selinux/include/xfrm.h         |    4 ++--
 11 files changed, 37 insertions(+), 15 deletions(-)

--
Signed-off-by: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-03-29 17:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-29 16:20 [PATCH net-next 0/5] Introduce net_rwsem to protect net_namespace_list Kirill Tkhai
     [not found] ` <152234005959.19153.17907173734141707348.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2018-03-29 16:20   ` [PATCH net-next 1/5] net: " Kirill Tkhai
2018-03-29 16:20   ` [PATCH net-next 2/5] net: Don't take rtnl_lock() in wireless_nlevent_flush() Kirill Tkhai
2018-03-29 16:20   ` [PATCH net-next 3/5] security: Remove rtnl_lock() in selinux_xfrm_notify_policyload() Kirill Tkhai
2018-03-29 16:21   ` [PATCH net-next 4/5] ovs: Remove rtnl_lock() from ovs_exit_net() Kirill Tkhai
2018-03-29 16:21   ` [PATCH net-next 5/5] net: Remove rtnl_lock() in nf_ct_iterate_destroy() Kirill Tkhai
2018-03-29 17:48   ` [PATCH net-next 0/5] Introduce net_rwsem to protect net_namespace_list David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).