Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp2417937pxb; Sat, 19 Feb 2022 10:43:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKrCjprJ6zD9B1o4IbAJxrv2540Ti0zNw4EinTEw+YZbgaBAEo7CoOX9cIC2sFeJPmnsxm X-Received: by 2002:a17:90a:c682:b0:1bc:11c4:46f9 with SMTP id n2-20020a17090ac68200b001bc11c446f9mr1839262pjt.69.1645296209483; Sat, 19 Feb 2022 10:43:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645296209; cv=none; d=google.com; s=arc-20160816; b=JT+YegamoQZucKHIoRmZDoNozEqJgh8eP4QhvzJdeVswdgfuXwC16iDf9+WBlFBuC/ o5vnu/M5lo5ar9MOND20mxZ3LFedaPdFIHAM+7g6pkgbhkUMw2Ihxe0p9/TwJgdqgSKN WpcgY+ipdr8oePXqD59wWwANe7E4oBDhRDAXLeHJ8MaSyWmxP8XNOjrIZKHStP6Yijg6 5FDaDEEUIKoy/iIv+dK+UurgCH98QUhrFUKLse0jDs3ZNWcxShVFaKQis1qlX+BpQ9gN wHxeevYZHepUqksh6HbjncckCz6JSxKmLojn6Lgv6HKsSn/YjHSilTI2I/LJDORdfTPg r7fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=9VLHMAqGP7UQq2CjvwyOOLvoKB9VA5/llriTKmvsvKA=; b=WURcmtczHijkms/kiP5kFNRkkGcCF0ix9iHPQGYU0dPzfmHLgZAZzcbd+5r0QqXiRH rPCi7wVSqD7dYwuFgnlWQ7JJBZOgDawEBHM/P0nJhZYMFcvi125TPiYfulUip0vtMcbs yEdPjxOmphQsmlS7Q01eTzpBtgydfVHCyYsSfrKlZTYk7KggW0zK6jarWNv025FFM94S +HJatzv/milrgFcD8f3Gzke9paH5JBL2dWqUflME335smViA/9bsmhPdP7fRO7OVmQ/x NbStucUkO9+W4elJ+iG1Z/byhjtH1Fd6QGno81xdfbPSme0s1oHFIWxTGWJWbV5ZCdZ8 +chw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h186si14072251pgc.30.2022.02.19.10.43.13; Sat, 19 Feb 2022 10:43:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239399AbiBSFx5 (ORCPT + 99 others); Sat, 19 Feb 2022 00:53:57 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232729AbiBSFx4 (ORCPT ); Sat, 19 Feb 2022 00:53:56 -0500 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 614A6211D73; Fri, 18 Feb 2022 21:53:38 -0800 (PST) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nLIgb-002uxx-7E; Sat, 19 Feb 2022 05:53:37 +0000 Date: Sat, 19 Feb 2022 05:53:37 +0000 From: Al Viro To: Rik van Riel Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, linux-fsdevel@vger.kernel.org, paulmck@kernel.org, gscrivan@redhat.com, Eric Biederman , Chris Mason Subject: Re: [PATCH 1/2] vfs: free vfsmount through rcu work from kern_unmount Message-ID: References: <20220218183114.2867528-1-riel@surriel.com> <20220218183114.2867528-2-riel@surriel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220218183114.2867528-2-riel@surriel.com> Sender: Al Viro X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 18, 2022 at 01:31:13PM -0500, Rik van Riel wrote: > struct super_block; > struct vfsmount; > @@ -73,6 +74,7 @@ struct vfsmount { > struct super_block *mnt_sb; /* pointer to superblock */ > int mnt_flags; > struct user_namespace *mnt_userns; > + struct rcu_work free_rwork; > } __randomize_layout; Wait, what? First of all, that has no business being in vfsmount - everything that deeply internal belongs in struct mount, not in its public part. Moreover, there's already mount->mnt_rcu, so what's the point duplicating that?