Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp394821pxm; Tue, 22 Feb 2022 13:12:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxG5EbqVzYBC9583fIdeH1xPILtyjvbFQBpdZrhvSsjl7h4Pm9mwxUkgXEaLg855OpjXtbO X-Received: by 2002:a17:906:30d1:b0:6cf:c116:c9d3 with SMTP id b17-20020a17090630d100b006cfc116c9d3mr19511776ejb.245.1645564322004; Tue, 22 Feb 2022 13:12:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645564321; cv=none; d=google.com; s=arc-20160816; b=oCcsHS/OmM/lyEEd7D8k4Ukun2gpPgtgEocKvp/q0Tw3WV+irCYUjV7cRLTOH87QS8 xOq5mTlvcQwPuvFeAOcY+agNZryhX+dEXCD5z8ILH6lGjftAiJ23Jf+0e8lhnDXBh51S H90Cy2Scj7FPlfHYx/1HwVdifhyuJe/vrCBzlFoggWYTDNfXVPZgYLri6/8eN1Dz91U/ ddVyup4kDh66ImA4NsG2VXwDzKA+sdf6cdsQ7LX/at6Xjk33dY2s2+SPJPvJH5QY2dm8 seoYxcl5xj8HXVk2KuzadIAI9HH9SKAyZDZB1JkxajCf5eBzrY6970xbucxcJDzVL4hC Cl9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=MpI+QTR5uF3hHf4Bz32+IS/VxWSVY5unua7iw2tRhM0=; b=Rf697etNroT3R26N7Ig3Y7RBlQESzc4T/qO1EpKKTr9yc7bsqtfJuXdQAcb2uPXWpN Zgs2kaXKSrxewxEPJJ33si97Fklka18+JAAzfdYbYuHnNvEGTqEgI15trrmvwWIFBYld CRLXWpeGKZQSl0E8iumr0dYIrXZCgUqUeJvUnKrmigxnqM1x7xiEIfHiiZFFIhC4oINl znX12vVT06dppSFsn/CB4AlIC5XOIphx7hCPP+kXBx1YjCathfH5PJQ95OV4zmmG1lGs /E9bVphMmH9JgrStg3IzEnX/xaPeccunRu6yZ1LJbnIUhFfmuih85qffHcjqauo/wS2O G4ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="MY/vtW3i"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z7si12475709edx.32.2022.02.22.13.11.35; Tue, 22 Feb 2022 13:12:01 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b="MY/vtW3i"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234901AbiBVSKT (ORCPT + 99 others); Tue, 22 Feb 2022 13:10:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232416AbiBVSKS (ORCPT ); Tue, 22 Feb 2022 13:10:18 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D5D9172E42 for ; Tue, 22 Feb 2022 10:09:53 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id m1-20020a17090a668100b001bc023c6f34so305031pjj.3 for ; Tue, 22 Feb 2022 10:09:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=MpI+QTR5uF3hHf4Bz32+IS/VxWSVY5unua7iw2tRhM0=; b=MY/vtW3ixj5BU9FxhwE4xPZw7v8TDLwDtmESYmhbKmbENBU2uHhOqYkTXnejRD3t8b 0jKaXB2gG63yb0pCHHEqTd0UDLRmTYnBJ15BvP11zbtwPsJqevTqYZEHo7ABbbnIa1WQ 43P6ye86Nbsw0DOEN71dOFbzPfOu1xqQfxAsUAhW6CYPw7swPfjQPe6Zz9kq8XsWJWtm Nutxs3j0OSfHBT+USXXm1RaL1qCXXVX7nuKUUvub5IcigHFFr8Nhfi6xofxlPqg0TpgD kCfh2nkOxc03yRWfATpcllTQQ+oS1TqvQ8w6V+7srJuqoBgpbX+4fsafAJF7ZHLM3iID mIaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=MpI+QTR5uF3hHf4Bz32+IS/VxWSVY5unua7iw2tRhM0=; b=C5Yb+hNuVMUEL9KQKyVmjLJr8vktnqqrXoz5sRgn2ck+e7dQfnP1YZInfCenCoAMTe uAPg8G+WrNmRPNMbhTI78Ly0dchsOKgH9RbvHjGgwCXVPwN3qQuhIGLlD8mZnZEb8iCi lRpsKWadU2yYq8BUI+/ik/ZpSUde/AgvqeGCgawndh2zSpBF0+YgsFU5hoJ1vyJsf2I5 02H/2nKvzz3bsJoUVUrsmwMXmfXZgaOY+XkfCXHxKwPmgz9qxWB7zret889AsqqAPotJ 7zgythFH7h+QBaKS5dNIbj6Fc/vmx1CdPuK1P6GPCSFOhgnEAobD+0ZeE3wzSs8AxNLM ugSA== X-Gm-Message-State: AOAM533M528Z3sRk/05upE1SOSPp4rjHvMWDR/LKd4sSOEhs3VHirX3F o+3vI9eKiOQ8b6QFNV/YArg= X-Received: by 2002:a17:90a:800c:b0:1bc:6faa:623f with SMTP id b12-20020a17090a800c00b001bc6faa623fmr4825103pjn.76.1645553392928; Tue, 22 Feb 2022 10:09:52 -0800 (PST) Received: from localhost (2603-800c-1a02-1bae-e24f-43ff-fee6-449f.res6.spectrum.com. [2603:800c:1a02:1bae:e24f:43ff:fee6:449f]) by smtp.gmail.com with ESMTPSA id z14sm18356959pfe.30.2022.02.22.10.09.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 10:09:52 -0800 (PST) Sender: Tejun Heo Date: Tue, 22 Feb 2022 08:09:51 -1000 From: Tejun Heo To: Al Viro Cc: Imran Khan , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 6/7] kernfs: Introduce hashed rw-sem to replace per-fs kernfs_rwsem. Message-ID: References: <20220214120322.2402628-1-imran.f.khan@oracle.com> <20220214120322.2402628-7-imran.f.khan@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 03:25:31AM +0000, Al Viro wrote: > There are very few sources of cross-directory moves in the entire system. > One is cross-directory cgroup rename(2) (already serialized on per-fs basis > on VFS level), another is device_move(). Which is uncommon (5 callers FWIW, cgroup rename(2) doesn't allow changing the parent. Thanks. -- tejun