Return-Path: Received: from mail-he1eur01on0111.outbound.protection.outlook.com ([104.47.0.111]:45788 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752113AbeC0IwR (ORCPT ); Tue, 27 Mar 2018 04:52:17 -0400 Subject: Re: [PATCH net-next nfs 1/6] net: Convert rpcsec_gss_net_ops To: "J. Bruce Fields" , Anna Schumaker Cc: davem@davemloft.net, trond.myklebust@primarydata.com, jlayton@kernel.org, dhowells@redhat.com, keescook@chromium.org, dwindsor@gmail.com, ishkamiel@gmail.com, elena.reshetova@intel.com, linux-nfs@vger.kernel.org, linux-afs@lists.infradead.org, netdev@vger.kernel.org References: <152093778442.8636.10592672493816457119.stgit@localhost.localdomain> <152093815494.8636.6607369744413088370.stgit@localhost.localdomain> <28c32fa9-17e1-0399-d7bf-760441128cf8@Netapp.com> <20180326183659.GA25744@fieldses.org> From: Kirill Tkhai Message-ID: <4f1d883b-8c5c-41b3-e287-37cd0061c11c@virtuozzo.com> Date: Tue, 27 Mar 2018 11:52:09 +0300 MIME-Version: 1.0 In-Reply-To: <20180326183659.GA25744@fieldses.org> Content-Type: text/plain; charset=utf-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: On 26.03.2018 21:36, J. Bruce Fields wrote: > On Fri, Mar 23, 2018 at 02:53:34PM -0400, Anna Schumaker wrote: >> >> >> On 03/13/2018 06:49 AM, Kirill Tkhai wrote: >>> These pernet_operations initialize and destroy sunrpc_net_id refered >>> per-net items. Only used global list is cache_list, and accesses >>> already serialized. >>> >>> sunrpc_destroy_cache_detail() check for list_empty() without >>> cache_list_lock, but when it's called from >>> unregister_pernet_subsys(), there can't be callers in parallel, so >>> we won't miss list_empty() in this case. >>> >>> Signed-off-by: Kirill Tkhai >> >> It might make sense to take these and the other NFS patches through >> the net tree, since the pernet_operations don't yet have the async >> field in my tree (and I therefore can't compile once these are >> applied). > > Ditto for the nfsd patch, so, for what it's worth: > > Acked-by: J. Bruce Fields > > for that patch.--b. Thanks, Bruce. Kirill