netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] Converting pernet_operations (part #8)
@ 2018-03-15  9:10 Kirill Tkhai
       [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Kirill Tkhai @ 2018-03-15  9:10 UTC (permalink / raw)
  To: davem-fT/PcQaiUtIeIZ0/mPfg9Q, wensong-ud5FBsm0p/xg9hUCZPvPmw,
	horms-/R6kz+dDXgpPR4JQBCEnsQ, ja-FgGsKACvmQM,
	pablo-Cap9r6Oaw4JrovVCs/uTlw,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	fw-HFFVJYpyMKqzQB+pC5nmwQ, pshelar-LZ6Gd1LRuIk,
	g.nault-pHk1y4uTXVDytLWWfqlThQ, jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA,
	dwindsor-Re5JQEeQqe8AvxtiuMwx3w,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA, lvs-devel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	dev-yBygre7rU0TnMu66kgdUjQ, ktkhai-5HdwGun5lf+gSpxsJD1C4w

Hi,

this series continues to review and to convert pernet_operations
to make them possible to be executed in parallel for several
net namespaces at the same time. There are different operations
over the tree, mostly are ipvs.


Thanks,
Kirill
---

Kirill Tkhai (6):
      net: Convert l2tp_net_ops
      net: Convert mpls_net_ops
      net: Convert ovs_net_ops
      net: Convert ipvs_core_ops
      net: Convert ipvs_core_dev_ops
      net: Convert ip_vs_ftp_ops


 net/l2tp/l2tp_core.c            |    1 +
 net/mpls/af_mpls.c              |    1 +
 net/netfilter/ipvs/ip_vs_core.c |    2 ++
 net/netfilter/ipvs/ip_vs_ftp.c  |    1 +
 net/openvswitch/datapath.c      |    1 +
 5 files changed, 6 insertions(+)

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

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

* [PATCH net-next 1/6] net: Convert l2tp_net_ops
       [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2018-03-15  9:10   ` Kirill Tkhai
       [not found]     ` <152110505785.28582.3727938208418496683.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  2018-03-15  9:11   ` [PATCH net-next 2/6] net: Convert mpls_net_ops Kirill Tkhai
                     ` (6 subsequent siblings)
  7 siblings, 1 reply; 11+ messages in thread
From: Kirill Tkhai @ 2018-03-15  9:10 UTC (permalink / raw)
  To: davem-fT/PcQaiUtIeIZ0/mPfg9Q, wensong-ud5FBsm0p/xg9hUCZPvPmw,
	horms-/R6kz+dDXgpPR4JQBCEnsQ, ja-FgGsKACvmQM,
	pablo-Cap9r6Oaw4JrovVCs/uTlw,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	fw-HFFVJYpyMKqzQB+pC5nmwQ, pshelar-LZ6Gd1LRuIk,
	g.nault-pHk1y4uTXVDytLWWfqlThQ, jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA,
	dwindsor-Re5JQEeQqe8AvxtiuMwx3w,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA, lvs-devel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	dev-yBygre7rU0TnMu66kgdUjQ, ktkhai-5HdwGun5lf+gSpxsJD1C4w

Init method is rather simple. Exit method queues del_work
for every tunnel from per-net list. This seems to be safe
to be marked async.

Signed-off-by: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
---
 net/l2tp/l2tp_core.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c
index 83421c6f0bef..189a12a5e4ac 100644
--- a/net/l2tp/l2tp_core.c
+++ b/net/l2tp/l2tp_core.c
@@ -1787,6 +1787,7 @@ static struct pernet_operations l2tp_net_ops = {
 	.exit = l2tp_exit_net,
 	.id   = &l2tp_net_id,
 	.size = sizeof(struct l2tp_net),
+	.async = true,
 };
 
 static int __init l2tp_init(void)

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

* [PATCH net-next 2/6] net: Convert mpls_net_ops
       [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  2018-03-15  9:10   ` [PATCH net-next 1/6] net: Convert l2tp_net_ops Kirill Tkhai
@ 2018-03-15  9:11   ` Kirill Tkhai
  2018-03-15  9:11   ` [PATCH net-next 3/6] net: Convert ovs_net_ops Kirill Tkhai
                     ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Kirill Tkhai @ 2018-03-15  9:11 UTC (permalink / raw)
  To: davem-fT/PcQaiUtIeIZ0/mPfg9Q, wensong-ud5FBsm0p/xg9hUCZPvPmw,
	horms-/R6kz+dDXgpPR4JQBCEnsQ, ja-FgGsKACvmQM,
	pablo-Cap9r6Oaw4JrovVCs/uTlw,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	fw-HFFVJYpyMKqzQB+pC5nmwQ, pshelar-LZ6Gd1LRuIk,
	g.nault-pHk1y4uTXVDytLWWfqlThQ, jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA,
	dwindsor-Re5JQEeQqe8AvxtiuMwx3w,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA, lvs-devel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	dev-yBygre7rU0TnMu66kgdUjQ, ktkhai-5HdwGun5lf+gSpxsJD1C4w

These pernet_operations register and unregister sysctl table.
Exit methods frees platform_labels from net::mpls::platform_label.
Everything is per-net, and they looks safe to be marked async.

Signed-off-by: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
---
 net/mpls/af_mpls.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c
index 7a4de6d618b1..d4a89a8be013 100644
--- a/net/mpls/af_mpls.c
+++ b/net/mpls/af_mpls.c
@@ -2488,6 +2488,7 @@ static void mpls_net_exit(struct net *net)
 static struct pernet_operations mpls_net_ops = {
 	.init = mpls_net_init,
 	.exit = mpls_net_exit,
+	.async = true,
 };
 
 static struct rtnl_af_ops mpls_af_ops __read_mostly = {

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

* [PATCH net-next 3/6] net: Convert ovs_net_ops
       [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  2018-03-15  9:10   ` [PATCH net-next 1/6] net: Convert l2tp_net_ops Kirill Tkhai
  2018-03-15  9:11   ` [PATCH net-next 2/6] net: Convert mpls_net_ops Kirill Tkhai
@ 2018-03-15  9:11   ` Kirill Tkhai
  2018-03-15  9:11   ` [PATCH net-next 4/6] net: Convert ipvs_core_ops Kirill Tkhai
                     ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Kirill Tkhai @ 2018-03-15  9:11 UTC (permalink / raw)
  To: davem-fT/PcQaiUtIeIZ0/mPfg9Q, wensong-ud5FBsm0p/xg9hUCZPvPmw,
	horms-/R6kz+dDXgpPR4JQBCEnsQ, ja-FgGsKACvmQM,
	pablo-Cap9r6Oaw4JrovVCs/uTlw,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	fw-HFFVJYpyMKqzQB+pC5nmwQ, pshelar-LZ6Gd1LRuIk,
	g.nault-pHk1y4uTXVDytLWWfqlThQ, jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA,
	dwindsor-Re5JQEeQqe8AvxtiuMwx3w,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA, lvs-devel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	dev-yBygre7rU0TnMu66kgdUjQ, ktkhai-5HdwGun5lf+gSpxsJD1C4w

These pernet_operations initialize and destroy net_generic()
data pointed by ovs_net_id. Exit method destroys vports from
alive net to exiting net. Since they are only pernet_operations
interested in this data, and exit method is executed under
exclusive global lock (ovs_mutex), they are safe to be executed
in parallel.

Signed-off-by: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
---
 net/openvswitch/datapath.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c
index ef38e5aecd28..100191df0371 100644
--- a/net/openvswitch/datapath.c
+++ b/net/openvswitch/datapath.c
@@ -2384,6 +2384,7 @@ static struct pernet_operations ovs_net_ops = {
 	.exit = ovs_exit_net,
 	.id   = &ovs_net_id,
 	.size = sizeof(struct ovs_net),
+	.async = true,
 };
 
 static int __init dp_init(void)

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

* [PATCH net-next 4/6] net: Convert ipvs_core_ops
       [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
                     ` (2 preceding siblings ...)
  2018-03-15  9:11   ` [PATCH net-next 3/6] net: Convert ovs_net_ops Kirill Tkhai
@ 2018-03-15  9:11   ` Kirill Tkhai
  2018-03-15  9:11   ` [PATCH net-next 5/6] net: Convert ipvs_core_dev_ops Kirill Tkhai
                     ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Kirill Tkhai @ 2018-03-15  9:11 UTC (permalink / raw)
  To: davem-fT/PcQaiUtIeIZ0/mPfg9Q, wensong-ud5FBsm0p/xg9hUCZPvPmw,
	horms-/R6kz+dDXgpPR4JQBCEnsQ, ja-FgGsKACvmQM,
	pablo-Cap9r6Oaw4JrovVCs/uTlw,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	fw-HFFVJYpyMKqzQB+pC5nmwQ, pshelar-LZ6Gd1LRuIk,
	g.nault-pHk1y4uTXVDytLWWfqlThQ, jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA,
	dwindsor-Re5JQEeQqe8AvxtiuMwx3w,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA, lvs-devel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	dev-yBygre7rU0TnMu66kgdUjQ, ktkhai-5HdwGun5lf+gSpxsJD1C4w

These pernet_operations register and unregister nf hooks,
/proc entries, sysctl, percpu statistics. There are several
global lists, and the only list modified without exclusive
locks is ip_vs_conn_tab in ip_vs_conn_flush(). We iterate
the list and force the timers expire at the moment. Since
there were possible several timer expirations before this
patch, and since they are safe, the patch does not invent
new parallelism of their destruction. These pernet_operations
look safe to be converted.

Signed-off-by: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
---
 net/netfilter/ipvs/ip_vs_core.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c
index 5f6f73cf2174..c5d16e2bc8e2 100644
--- a/net/netfilter/ipvs/ip_vs_core.c
+++ b/net/netfilter/ipvs/ip_vs_core.c
@@ -2289,6 +2289,7 @@ static struct pernet_operations ipvs_core_ops = {
 	.exit = __ip_vs_cleanup,
 	.id   = &ip_vs_net_id,
 	.size = sizeof(struct netns_ipvs),
+	.async = true,
 };
 
 static struct pernet_operations ipvs_core_dev_ops = {

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

* [PATCH net-next 5/6] net: Convert ipvs_core_dev_ops
       [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
                     ` (3 preceding siblings ...)
  2018-03-15  9:11   ` [PATCH net-next 4/6] net: Convert ipvs_core_ops Kirill Tkhai
@ 2018-03-15  9:11   ` Kirill Tkhai
  2018-03-15  9:11   ` [PATCH net-next 6/6] net: Convert ip_vs_ftp_ops Kirill Tkhai
                     ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Kirill Tkhai @ 2018-03-15  9:11 UTC (permalink / raw)
  To: davem-fT/PcQaiUtIeIZ0/mPfg9Q, wensong-ud5FBsm0p/xg9hUCZPvPmw,
	horms-/R6kz+dDXgpPR4JQBCEnsQ, ja-FgGsKACvmQM,
	pablo-Cap9r6Oaw4JrovVCs/uTlw,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	fw-HFFVJYpyMKqzQB+pC5nmwQ, pshelar-LZ6Gd1LRuIk,
	g.nault-pHk1y4uTXVDytLWWfqlThQ, jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA,
	dwindsor-Re5JQEeQqe8AvxtiuMwx3w,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA, lvs-devel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	dev-yBygre7rU0TnMu66kgdUjQ, ktkhai-5HdwGun5lf+gSpxsJD1C4w

Exit method stops two per-net threads and cancels
delayed work. Everything looks nicely per-net divided.

Signed-off-by: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
---
 net/netfilter/ipvs/ip_vs_core.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c
index c5d16e2bc8e2..6a6cb9db030b 100644
--- a/net/netfilter/ipvs/ip_vs_core.c
+++ b/net/netfilter/ipvs/ip_vs_core.c
@@ -2294,6 +2294,7 @@ static struct pernet_operations ipvs_core_ops = {
 
 static struct pernet_operations ipvs_core_dev_ops = {
 	.exit = __ip_vs_dev_cleanup,
+	.async = true,
 };
 
 /*

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

* [PATCH net-next 6/6] net: Convert ip_vs_ftp_ops
       [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
                     ` (4 preceding siblings ...)
  2018-03-15  9:11   ` [PATCH net-next 5/6] net: Convert ipvs_core_dev_ops Kirill Tkhai
@ 2018-03-15  9:11   ` Kirill Tkhai
  2018-03-15 20:32   ` [PATCH net-next 0/6] Converting pernet_operations (part #8) Julian Anastasov
  2018-03-17 21:07   ` David Miller
  7 siblings, 0 replies; 11+ messages in thread
From: Kirill Tkhai @ 2018-03-15  9:11 UTC (permalink / raw)
  To: davem-fT/PcQaiUtIeIZ0/mPfg9Q, wensong-ud5FBsm0p/xg9hUCZPvPmw,
	horms-/R6kz+dDXgpPR4JQBCEnsQ, ja-FgGsKACvmQM,
	pablo-Cap9r6Oaw4JrovVCs/uTlw,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	fw-HFFVJYpyMKqzQB+pC5nmwQ, pshelar-LZ6Gd1LRuIk,
	g.nault-pHk1y4uTXVDytLWWfqlThQ, jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA,
	dwindsor-Re5JQEeQqe8AvxtiuMwx3w,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA, lvs-devel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	dev-yBygre7rU0TnMu66kgdUjQ, ktkhai-5HdwGun5lf+gSpxsJD1C4w

These pernet_operations register and unregister ipvs app.
register_ip_vs_app(), unregister_ip_vs_app() and
register_ip_vs_app_inc() modify per-net structures,
and there are no global structures touched. So,
this looks safe to be marked as async.

Signed-off-by: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
---
 net/netfilter/ipvs/ip_vs_ftp.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/netfilter/ipvs/ip_vs_ftp.c b/net/netfilter/ipvs/ip_vs_ftp.c
index 58d5d05aec24..8b25aab41928 100644
--- a/net/netfilter/ipvs/ip_vs_ftp.c
+++ b/net/netfilter/ipvs/ip_vs_ftp.c
@@ -479,6 +479,7 @@ static void __ip_vs_ftp_exit(struct net *net)
 static struct pernet_operations ip_vs_ftp_ops = {
 	.init = __ip_vs_ftp_init,
 	.exit = __ip_vs_ftp_exit,
+	.async = true,
 };
 
 static int __init ip_vs_ftp_init(void)

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

* Re: [PATCH net-next 1/6] net: Convert l2tp_net_ops
       [not found]     ` <152110505785.28582.3727938208418496683.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2018-03-15 15:52       ` Guillaume Nault
  0 siblings, 0 replies; 11+ messages in thread
From: Guillaume Nault @ 2018-03-15 15:52 UTC (permalink / raw)
  To: Kirill Tkhai
  Cc: dev-yBygre7rU0TnMu66kgdUjQ, wensong-ud5FBsm0p/xg9hUCZPvPmw,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w, fw-HFFVJYpyMKqzQB+pC5nmwQ,
	jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lvs-devel-u79uwXL29TY76Z2rM5mHXA, ja-FgGsKACvmQM,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q,
	pablo-Cap9r6Oaw4JrovVCs/uTlw, dwindsor-Re5JQEeQqe8AvxtiuMwx3w

On Thu, Mar 15, 2018 at 12:10:57PM +0300, Kirill Tkhai wrote:
> Init method is rather simple. Exit method queues del_work
> for every tunnel from per-net list. This seems to be safe
> to be marked async.
> 
Acked-by: Guillaume Nault <g.nault-pHk1y4uTXVDytLWWfqlThQ@public.gmane.org>

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

* Re: [PATCH net-next 0/6] Converting pernet_operations (part #8)
       [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
                     ` (5 preceding siblings ...)
  2018-03-15  9:11   ` [PATCH net-next 6/6] net: Convert ip_vs_ftp_ops Kirill Tkhai
@ 2018-03-15 20:32   ` Julian Anastasov
  2018-03-17 21:07   ` David Miller
  7 siblings, 0 replies; 11+ messages in thread
From: Julian Anastasov @ 2018-03-15 20:32 UTC (permalink / raw)
  To: Kirill Tkhai
  Cc: dev-yBygre7rU0TnMu66kgdUjQ, Wensong Zhang,
	g.nault-pHk1y4uTXVDytLWWfqlThQ,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w, fw-HFFVJYpyMKqzQB+pC5nmwQ,
	jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lvs-devel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ, David S. Miller,
	pablo-Cap9r6Oaw4JrovVCs/uTlw, dwindsor-Re5JQEeQqe8AvxtiuMwx3w


	Hello,

On Thu, 15 Mar 2018, Kirill Tkhai wrote:

> Hi,
> 
> this series continues to review and to convert pernet_operations
> to make them possible to be executed in parallel for several
> net namespaces at the same time. There are different operations
> over the tree, mostly are ipvs.
> 
> 
> Thanks,
> Kirill
> ---
> 
> Kirill Tkhai (6):
>       net: Convert l2tp_net_ops
>       net: Convert mpls_net_ops
>       net: Convert ovs_net_ops
>       net: Convert ipvs_core_ops
>       net: Convert ipvs_core_dev_ops
>       net: Convert ip_vs_ftp_ops

	The IPVS patches 4-6 look good to me,

Acked-by: Julian Anastasov <ja-FgGsKACvmQM@public.gmane.org>

>  net/l2tp/l2tp_core.c            |    1 +
>  net/mpls/af_mpls.c              |    1 +
>  net/netfilter/ipvs/ip_vs_core.c |    2 ++
>  net/netfilter/ipvs/ip_vs_ftp.c  |    1 +
>  net/openvswitch/datapath.c      |    1 +
>  5 files changed, 6 insertions(+)
> 
> --
> Signed-off-by: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>

Regards

--
Julian Anastasov <ja-FgGsKACvmQM@public.gmane.org>

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

* Re: [PATCH net-next 0/6] Converting pernet_operations (part #8)
       [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
                     ` (6 preceding siblings ...)
  2018-03-15 20:32   ` [PATCH net-next 0/6] Converting pernet_operations (part #8) Julian Anastasov
@ 2018-03-17 21:07   ` David Miller
       [not found]     ` <20180317.170757.485564313326587221.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
  7 siblings, 1 reply; 11+ messages in thread
From: David Miller @ 2018-03-17 21:07 UTC (permalink / raw)
  To: ktkhai-5HdwGun5lf+gSpxsJD1C4w
  Cc: dev-yBygre7rU0TnMu66kgdUjQ, wensong-ud5FBsm0p/xg9hUCZPvPmw,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w, fw-HFFVJYpyMKqzQB+pC5nmwQ,
	jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lvs-devel-u79uwXL29TY76Z2rM5mHXA, ja-FgGsKACvmQM,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ, g.nault-pHk1y4uTXVDytLWWfqlThQ,
	pablo-Cap9r6Oaw4JrovVCs/uTlw, dwindsor-Re5JQEeQqe8AvxtiuMwx3w

From: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
Date: Thu, 15 Mar 2018 12:10:47 +0300

> this series continues to review and to convert pernet_operations
> to make them possible to be executed in parallel for several
> net namespaces at the same time. There are different operations
> over the tree, mostly are ipvs.

Series applied, thanks Kirill.

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

* Re: [PATCH net-next 0/6] Converting pernet_operations (part #8)
       [not found]     ` <20180317.170757.485564313326587221.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
@ 2018-03-17 21:13       ` Kirill Tkhai
  0 siblings, 0 replies; 11+ messages in thread
From: Kirill Tkhai @ 2018-03-17 21:13 UTC (permalink / raw)
  To: David Miller
  Cc: dev-yBygre7rU0TnMu66kgdUjQ, wensong-ud5FBsm0p/xg9hUCZPvPmw,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w,
	netdev-u79uwXL29TY76Z2rM5mHXA,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w, fw-HFFVJYpyMKqzQB+pC5nmwQ,
	jchapman-Bm0nJX+W7e9BDgjK7y7TUQ,
	lvs-devel-u79uwXL29TY76Z2rM5mHXA, ja-FgGsKACvmQM,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ, g.nault-pHk1y4uTXVDytLWWfqlThQ,
	pablo-Cap9r6Oaw4JrovVCs/uTlw, dwindsor-Re5JQEeQqe8AvxtiuMwx3w

On 18.03.2018 00:07, David Miller wrote:
> From: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
> Date: Thu, 15 Mar 2018 12:10:47 +0300
> 
>> this series continues to review and to convert pernet_operations
>> to make them possible to be executed in parallel for several
>> net namespaces at the same time. There are different operations
>> over the tree, mostly are ipvs.
> 
> Series applied, thanks Kirill.

Thanks, David!

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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-15  9:10 [PATCH net-next 0/6] Converting pernet_operations (part #8) Kirill Tkhai
     [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2018-03-15  9:10   ` [PATCH net-next 1/6] net: Convert l2tp_net_ops Kirill Tkhai
     [not found]     ` <152110505785.28582.3727938208418496683.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2018-03-15 15:52       ` Guillaume Nault
2018-03-15  9:11   ` [PATCH net-next 2/6] net: Convert mpls_net_ops Kirill Tkhai
2018-03-15  9:11   ` [PATCH net-next 3/6] net: Convert ovs_net_ops Kirill Tkhai
2018-03-15  9:11   ` [PATCH net-next 4/6] net: Convert ipvs_core_ops Kirill Tkhai
2018-03-15  9:11   ` [PATCH net-next 5/6] net: Convert ipvs_core_dev_ops Kirill Tkhai
2018-03-15  9:11   ` [PATCH net-next 6/6] net: Convert ip_vs_ftp_ops Kirill Tkhai
2018-03-15 20:32   ` [PATCH net-next 0/6] Converting pernet_operations (part #8) Julian Anastasov
2018-03-17 21:07   ` David Miller
     [not found]     ` <20180317.170757.485564313326587221.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2018-03-17 21:13       ` Kirill Tkhai

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).