Netdev List
 help / color / mirror / Atom feed
From: Kirill Tkhai <ktkhai@virtuozzo.com>
To: davem@davemloft.net, vyasevich@gmail.com, nhorman@tuxdriver.com,
	jon.maloy@ericsson.com, ying.xue@windriver.com,
	santosh.shilimkar@oracle.com, netdev@vger.kernel.org,
	ktkhai@virtuozzo.com
Subject: [PATCH net-next 3/4] net: Convert tipc_net_ops
Date: Tue, 13 Mar 2018 13:37:11 +0300	[thread overview]
Message-ID: <152093743164.31266.1211425423209560462.stgit@localhost.localdomain> (raw)
In-Reply-To: <152093726634.31266.4973922580771632781.stgit@localhost.localdomain>

TIPC looks concentrated in itself, and other pernet_operations
seem not touching its entities.

tipc_net_ops look pernet-divided, and they should be safe to
be executed in parallel for several net the same time.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
---
 net/tipc/core.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/tipc/core.c b/net/tipc/core.c
index 0b982d048fb9..04fd91bb11d7 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -105,6 +105,7 @@ static struct pernet_operations tipc_net_ops = {
 	.exit = tipc_exit_net,
 	.id   = &tipc_net_id,
 	.size = sizeof(struct tipc_net),
+	.async = true,
 };
 
 static int __init tipc_init(void)

  parent reply	other threads:[~2018-03-13 10:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-13 10:36 [PATCH net-next 0/4] Converting pernet_operations (part #6) Kirill Tkhai
2018-03-13 10:36 ` [PATCH net-next 1/4] net: Convert sctp_defaults_ops Kirill Tkhai
2018-03-13 10:37 ` [PATCH net-next 2/4] net: Convert sctp_ctrlsock_ops Kirill Tkhai
2018-03-13 11:45   ` Neil Horman
2018-03-13 10:37 ` Kirill Tkhai [this message]
2018-03-13 10:37 ` [PATCH net-next 4/4] net: Convert rds_tcp_net_ops Kirill Tkhai
2018-03-13 15:25 ` [PATCH net-next 0/4] Converting pernet_operations (part #6) David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=152093743164.31266.1211425423209560462.stgit@localhost.localdomain \
    --to=ktkhai@virtuozzo.com \
    --cc=davem@davemloft.net \
    --cc=jon.maloy@ericsson.com \
    --cc=netdev@vger.kernel.org \
    --cc=nhorman@tuxdriver.com \
    --cc=santosh.shilimkar@oracle.com \
    --cc=vyasevich@gmail.com \
    --cc=ying.xue@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox