Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3540827pxb; Sun, 26 Sep 2021 18:52:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfTaa46V2sJ1GHLrLDF2Br3AK1Nrrda4Umd0syYFOsOjAK8ibZKwVXblJbp7m7DbmjnFck X-Received: by 2002:a17:902:e8c9:b0:13d:dae7:1d5b with SMTP id v9-20020a170902e8c900b0013ddae71d5bmr19391769plg.39.1632707541558; Sun, 26 Sep 2021 18:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632707541; cv=none; d=google.com; s=arc-20160816; b=RjsKZUuYTxgXUV7NlzFRe6nojT9Wl8gOFGOtf/h9r2U0s+T7+7SEacBqIh5ALf8lT6 lxSFP+CPa1x/DerxKCVx0sOFeDDfD+RH03ryBPTO7CiJnfZ1ITmArLsfvXYYsHIdFGVP qS8Eol4/3iiPUCbiDTf4vb/wOnKuL0UyzvgoedX+Mng5/wOh13kWXoQeShclmqndsM+V SYsi5LfkEAPN4uOXY6i1ooJ0Fk5ZrjWwZ2hGgPqMPgnXN/Q971Yc+KiHp28xmr1x95ED c7cv5iqAedvsEaupOnAHE7gwr9OMT6vjwfg6mlFDoL8bouYNN3rqds1KSh9uyCa2WOdD Gjig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=qECpedmbowWpJTK+VeLneJXKD3uIx4SwX+Jsj8u8hP0=; b=OWBhJ54xa3f9L193Xtr6FEMJHJmJDiPp1vWz9ZxFUQKkGxrtNfzD0syVl0bxSmcEHh BVgZiA7nHZxMJG7/D4TrhcJAfjNC210LcoaAJnxlLm61teVND3vGdeQCJ3e8f9w+uDFW /9Z17EVdzUrNtXOQVoIxdz0WWO4qOcbAxd4VpRkvEEVOMcsN//I1sGucLFJe0Z9u3TVB DV6OsbFMvv3g0lmn2Plj6+4otcaUT1wScDM+Zv1SBmqHipow/BC4pQfNiZH1oNZmq1aZ QPKdzG6W8lmbrU4Ik541pwivXYweco4QCUvpluMZ/P32l37BkxqOIZS9ozfsdpH+pVBd jOTQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i4si20874053pgs.164.2021.09.26.18.52.08; Sun, 26 Sep 2021 18:52:21 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232405AbhI0BxA (ORCPT + 99 others); Sun, 26 Sep 2021 21:53:00 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:21346 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232360AbhI0BxA (ORCPT ); Sun, 26 Sep 2021 21:53:00 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4HHlqt0NBZzRZJ4; Mon, 27 Sep 2021 09:47:06 +0800 (CST) Received: from dggpeml500025.china.huawei.com (7.185.36.35) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Mon, 27 Sep 2021 09:51:21 +0800 Received: from [10.174.176.117] (10.174.176.117) by dggpeml500025.china.huawei.com (7.185.36.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Mon, 27 Sep 2021 09:51:21 +0800 Subject: Re: [PATCH] kernfs: fix the race in the creation of negative dentry To: Ian Kent , Greg Kroah-Hartman , Tejun Heo , Miklos Szeredi CC: , , References: <20210911021342.3280687-1-houtao1@huawei.com> <7b92b158200567f0bba26a038191156890921f13.camel@themaw.net> <6c8088411523e52fc89b8dd07710c3825366ce64.camel@themaw.net> <747aee3255e7a07168557f29ad962e34e9cb964b.camel@themaw.net> <077362887b4ceeb01c27fbf36fa35adae02967c9.camel@themaw.net> From: Hou Tao Message-ID: <13592fb7-5bc1-41cf-f19d-150b1e634fb2@huawei.com> Date: Mon, 27 Sep 2021 09:51:20 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <077362887b4ceeb01c27fbf36fa35adae02967c9.camel@themaw.net> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.174.176.117] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml500025.china.huawei.com (7.185.36.35) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Regards, Tao