From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-db5eur01on0102.outbound.protection.outlook.com ([104.47.2.102]:63264 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932489AbeCMKhU (ORCPT ); Tue, 13 Mar 2018 06:37:20 -0400 Subject: [PATCH net-next 3/4] net: Convert tipc_net_ops From: Kirill Tkhai 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 Date: Tue, 13 Mar 2018 13:37:11 +0300 Message-ID: <152093743164.31266.1211425423209560462.stgit@localhost.localdomain> In-Reply-To: <152093726634.31266.4973922580771632781.stgit@localhost.localdomain> References: <152093726634.31266.4973922580771632781.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: 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 --- 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)