From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kirill Tkhai Subject: Re: [PATCH net-next 0/5] Make pernet_operations always read locked Date: Tue, 27 Mar 2018 20:34:10 +0300 Message-ID: References: <152216238129.1634.4807322431520445566.stgit@localhost.localdomain> <20180327.131826.868714983333063962.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: nicolas.dichtel@6wind.com, vyasevic@redhat.com, paulmck@linux.vnet.ibm.com, vyasevich@gmail.com, mark.rutland@arm.com, leonro@mellanox.com, avagin@virtuozzo.com, fw@strlen.de, ebiederm@xmission.com, roman.kapl@sysgo.com, dsahern@gmail.com, netdev@vger.kernel.org, bfields@fieldses.org To: David Miller Return-path: Received: from mail-he1eur01on0101.outbound.protection.outlook.com ([104.47.0.101]:59274 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754602AbeC0ReS (ORCPT ); Tue, 27 Mar 2018 13:34:18 -0400 In-Reply-To: <20180327.131826.868714983333063962.davem@davemloft.net> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 27.03.2018 20:18, David Miller wrote: > From: Kirill Tkhai > Date: Tue, 27 Mar 2018 18:01:42 +0300 > >> All the pernet_operations are converted, and the last one >> is in this patchset (nfsd_net_ops acked by J. Bruce Fields). >> So, it's the time to kill pernet_operations::async field, >> and make setup_net() and cleanup_net() always require >> the rwsem only read locked. >> >> All further pernet_operations have to be developed to fit >> this rule. Some of previous patches added a comment to >> struct pernet_operations about that. >> >> Also, this patchset renames net_sem to pernet_ops_rwsem >> to make the target area of the rwsem is more clear visible, >> and adds more comments. > > Amazing work, series applied, thanks! Thanks a lot, David! Kirill