Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3643064pxb; Sun, 26 Sep 2021 22:33:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzU93/c8Bg3dzneVUYwTmkOh7wuQ0P+OV0cRNuqCR5svoW0By88gIZnuc058qs5svaAAETl X-Received: by 2002:a17:90a:6b0f:: with SMTP id v15mr16486295pjj.134.1632720835538; Sun, 26 Sep 2021 22:33:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632720835; cv=none; d=google.com; s=arc-20160816; b=oZOqWuI3QpVr1yjoF1DxGk6RQIMdBsa75eO3X0zlMOa1WX8QYNlZ65x+TbcDWAn4bl NBC3iHa7WIoaCoPWFoBtxW+/ejR9eRXmnj9VZMUVUET1UMkDRgU/u+xfjxv+oUIOHNrJ E2zYy2kmw58aSNgO9QX3F2KGELpeA9fZ+6zq0Nl5QOxMRV/YOZFqswElZRX95Vm+bmZh En8vQr5aqUxJ+LPEAkNHXaOsUXKg4oWR4rrKWizolVtoJzjmE5gdxpcp57xuvM3eKWrS bSd+6PH3jDiac8dtgFl9T4qKc/tnvfzBuASMtjMptyHKTr+vFwlt2NP9gJVbm6LY8YJZ Nwfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature:dkim-signature; bh=5RSO3LTxmppqOTxU1Fq8i0gFbE0Ym22fxDCcb5hNdBU=; b=1CjOa+Jq5i/q8xw85i0WIAAP7HfXynFx96a0ANqDL2QEydCLnJ7VyRPQx4x29WCuMZ vnvdOwFhb5Aa9VgeoQzifTFlOiLtqFF+6kL3OQ7HPHj4xEOfTpotAf4oxWc/ZHlufOjU uTrBq4YEhwmdbPWFWjXCLiRJCu0hcBydFr2/jX2fk45QbLIrEZC75nwv7cSjwZqY3IUG PTokorjoP0n08BXgJiwFYU6HaND6P4JyAGsHsiYygh04huX6sPx/8uci/6/pIn/2qB/S d/EkcOa4aYlVF/vmgWd3GZd4ggy1hu6k4rvU9rkHTKfiKQ6IZvR4ezwapcv/zHdnSkCF RXNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@themaw.net header.s=fm1 header.b=dD2LvoTq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Isz10WBs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u72si20477222pfc.10.2021.09.26.22.33.42; Sun, 26 Sep 2021 22:33:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@themaw.net header.s=fm1 header.b=dD2LvoTq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Isz10WBs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232923AbhI0FdT (ORCPT + 99 others); Mon, 27 Sep 2021 01:33:19 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:32919 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232910AbhI0FdS (ORCPT ); Mon, 27 Sep 2021 01:33:18 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3522D5C00CA; Mon, 27 Sep 2021 01:31:41 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 27 Sep 2021 01:31:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=themaw.net; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s=fm1; bh= 5RSO3LTxmppqOTxU1Fq8i0gFbE0Ym22fxDCcb5hNdBU=; b=dD2LvoTqZYZMG2Vg LfEcGypnJm+/ZHvdAbnd5ic+Ge2zdgezP/za/2J5ZfTCjy520dxmYwCii6ubNdii m3XgbmMhmr/ULUxixnVPmCS8yL25nyvRet8ep0U1ItIKEwC+cm6lmRXJzvAyOEw7 mVAjg0DDNGQJLNdRIfXN9kc16pWXnGMudWmMFmcwbn6XNuJcHyBxeJcOb88BmJV8 D9jTmV4uyXRU6Tf9nU1FVFdTaHTfivOjfE8KbfQYRRykGNMtRfhMJHW1kDjp4VaJ m8X4D0u2tiMfR3H42l5EAP1LHRObEjOj82++4L205WNw7EmJ/sAZsW+WY7raHotS PH1MkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=5RSO3LTxmppqOTxU1Fq8i0gFbE0Ym22fxDCcb5hNd BU=; b=Isz10WBs0jtGdolBY/WiXyacfLrKesdQWG3MNQxcETxwxq4qGa3cIINvj NLcrFGafPBJQNlT6kODuOiOcRxsrCIuQ5CI271cHcz0lKLscF4cbfyvpfIExtGCM 2766f73J5SlI0ydKzDjWkLa+eZptwY3JSzebafEPoTNs+TFVHvOhrMWIbhF6/8IY 1mPmpfFi4fi9KnBIzAYAiPvqckUZgA1joQPVPzi6ljvrl4jOCIj9f3qORuGsrnsV P3aIGCz8+1TX3dvnq3jqxUBV55eZEW3+GEssGWhaVrSTLWfg8jRN2G4GYldUdqvl C43Xp40wyob8GGximjecaIR3KdKKA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudejjedgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkffuhffvffgjfhgtfggggfesthejredttderjeenucfhrhhomhepkfgrnhcu mfgvnhhtuceorhgrvhgvnhesthhhvghmrgifrdhnvghtqeenucggtffrrghtthgvrhhnpe effeettedvgeduvdevfeevfeettdffudduheeuiefhueevgfevheffledugefgjeenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrrghvvghnse hthhgvmhgrfidrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Sep 2021 01:31:38 -0400 (EDT) Message-ID: <335238991ddf09e8873796feab9d53123d26b46d.camel@themaw.net> Subject: Re: [PATCH] kernfs: fix the race in the creation of negative dentry From: Ian Kent To: Hou Tao , Greg Kroah-Hartman , Tejun Heo , Miklos Szeredi Cc: viro@ZenIV.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 27 Sep 2021 13:31:34 +0800 In-Reply-To: <13592fb7-5bc1-41cf-f19d-150b1e634fb2@huawei.com> References: <20210911021342.3280687-1-houtao1@huawei.com> <7b92b158200567f0bba26a038191156890921f13.camel@themaw.net> <6c8088411523e52fc89b8dd07710c3825366ce64.camel@themaw.net> <747aee3255e7a07168557f29ad962e34e9cb964b.camel@themaw.net> <077362887b4ceeb01c27fbf36fa35adae02967c9.camel@themaw.net> <13592fb7-5bc1-41cf-f19d-150b1e634fb2@huawei.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2021-09-27 at 09:51 +0800, Hou Tao wrote: > Hi, > > On 9/23/2021 10:50 AM, Ian Kent wrote: > > Great, although I was hoping you would check it worked as expected. > > Did you check? > > If not could you please do that check? > It fixes the race. I rerun the stress test of module addition and > removal, > and the problem doesn't occur after 12 hours. Great, thanks, I'll forward the patch to Greg after some basic testing. Ian