Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1253452ybt; Thu, 25 Jun 2020 01:16:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBC8vDB/UtfbbjIYBhAm80ZuqUuO7P7lOyWcO6LGXWnmh7tOZjbcpl1/j+0vEf6eD0KOnx X-Received: by 2002:a05:6402:1ca2:: with SMTP id cz2mr29389844edb.15.1593072992491; Thu, 25 Jun 2020 01:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593072992; cv=none; d=google.com; s=arc-20160816; b=QvEihVIEtj4+xYOiU+mjx8+XUfeROUuiPvHJJco0gArw+AaShl4pM0iJEvze42xBSB DOGy2dF1zx461eyj3LZF6uslWGlIKq5DvDoq3SMo1tcQ3/2emBtHx49f3K1erz24aPSt ofYgZ4f+vYAwACdKbbYmwEFUeGDKKxtuJrQba8BdcY+G62tX+kt14+97vHT3Plt0amYw LCAuNihzIVb+LbwSG3zk1mfZwS8AQMIuwB+s+6WU6CivCCOyLGMQ01HbfP3CIpEo2Reo 5QaobICxv9NNXVF72TJpKkCXIvcSDB1gAdAq1hURn2q1H7/xmmaZXqNNi9TpOuFXFrRb tlPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature:dkim-signature; bh=P/eFafOZttAQk1jUfpBb2bbEKVsHkuSm9g64OcFOYWE=; b=0ShYULE7bE2/QPAHcDu2W+sFrj0AXzPtpUIXDmTIxXeOveUO2qi2nwoFHiQNd9kDs3 9yO+ovvRs3FY4uY98LXgxyuEIczwGDd5x8YKKXthW9uJxdXr4UyQo8eiLQ8GZCXzwmzw 7rM4H3r9Wfni9RtdjFuJ1xeKkcOlGPDlu0S9Mu11KBWqL4VMnSla9nzPOzClmvIZYBkl EkPZje/DvVoB3fv92iXGaZMDGY3TYViC20BwjzjiKGU9lqwWFneQrT1VY3Russ4/nxbf KB2X/6s924wCMacwAlILwuLXfeg6NGzol1/oY3DfqxTcE/hw150xQxjBJjHhgRzBIb9U NC5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@themaw.net header.s=fm3 header.b=YGmTVosK; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=cvICLLJK; 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 v7si10397998edd.252.2020.06.25.01.16.09; Thu, 25 Jun 2020 01:16:32 -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=fm3 header.b=YGmTVosK; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=cvICLLJK; 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 S2390496AbgFYIPa (ORCPT + 99 others); Thu, 25 Jun 2020 04:15:30 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:51653 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726930AbgFYIP3 (ORCPT ); Thu, 25 Jun 2020 04:15:29 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 36E7F5C0129; Thu, 25 Jun 2020 04:15:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 25 Jun 2020 04:15:28 -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=fm3; bh= P/eFafOZttAQk1jUfpBb2bbEKVsHkuSm9g64OcFOYWE=; b=YGmTVosK6St1n/Hj MESzAVdtrVJA2OIGxRuTdLd/yrEzpR4Ge8CYTHVSzVA3RjjA5j1yUOV38Y6RAL6z KABOXpds+++j22U6acBfkJ116DjL3mj9XxNaQnGSVDT0iFLZDwJ+LBylG0DJvOA2 spWImfZH8CdCyVjQqoBeqA53DxDdC7KwtzmJclN6tPlzDUo8FLQMNZ61fZ0CHvRf 3KqVtuqV7p6MP/zeOLpR08Aih6dLmfxwQOOeTUD1wms8S/ulb3fnu9FtQ4eiJOqT uk+UQCp81sRnqeDTm4dFfjc19oOUtl9bsnsaOLZGqkFlG3zQgejJW1xUJmIuEJXM ndtKow== 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=P/eFafOZttAQk1jUfpBb2bbEKVsHkuSm9g64OcFOY WE=; b=cvICLLJK0oHcBiKIgxnDyKcq9n4BIW959sOPKH7JVpFGP4T/Y9cGqOXwJ 2eAmRqi8bP7BZXPsxxCd+rWT/kQZKKtY9uYHnc04k578SEMXPB/+O+nTETsP4kmR fILxQUFao3A3rXPtHXXGqhVnRd727ObKRLNBKpRn80nfgfMiIak2aT11BIISfyFu SG4BFY/gGjPiOrLf55QCfdS4TGJ9aSJRlSWBqH58MjUqecTIlqqC3jCxNnn0eZ+X 5twP7eitYh5qplaEN7i9z5HQCPR5awB2gEH8Kvl1ZaCfRC+mfQ3DR4lZuNYFA/ha 3Qega9i6bkFK9kt4JhD18hilnzesg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudekledgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkffuhffvffgjfhgtfggggfesthejredttderjeenucfhrhhomhepkfgrnhcu mfgvnhhtuceorhgrvhgvnhesthhhvghmrgifrdhnvghtqeenucggtffrrghtthgvrhhnpe effeettedvgeduvdevfeevfeettdffudduheeuiefhueevgfevheffledugefgjeenucfk phepuddukedrvddtkedrheejrdejudenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehrrghvvghnsehthhgvmhgrfidrnhgvth X-ME-Proxy: Received: from mickey.themaw.net (unknown [118.208.57.71]) by mail.messagingengine.com (Postfix) with ESMTPA id 8D6B6306778F; Thu, 25 Jun 2020 04:15:23 -0400 (EDT) Message-ID: Subject: Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement From: Ian Kent To: Tejun Heo , Rick Lindsley Cc: Greg Kroah-Hartman , Stephen Rothwell , Andrew Morton , Al Viro , David Howells , Miklos Szeredi , linux-fsdevel , Kernel Mailing List Date: Thu, 25 Jun 2020 16:15:19 +0800 In-Reply-To: <20200623231348.GD13061@mtj.duckdns.org> References: <159237905950.89469.6559073274338175600.stgit@mickey.themaw.net> <20200619153833.GA5749@mtj.thefacebook.com> <16d9d5aa-a996-d41d-cbff-9a5937863893@linux.vnet.ibm.com> <20200619222356.GA13061@mtj.duckdns.org> <20200622175343.GC13061@mtj.duckdns.org> <82b2379e-36d0-22c2-41eb-71571e992b37@linux.vnet.ibm.com> <20200623231348.GD13061@mtj.duckdns.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-06-23 at 19:13 -0400, Tejun Heo wrote: > Hello, Rick. > > On Mon, Jun 22, 2020 at 02:22:34PM -0700, Rick Lindsley wrote: > > > I don't know. The above highlights the absurdity of the approach > > > itself to > > > me. You seem to be aware of it too in writing: 250,000 "devices". > > > > Just because it is absurd doesn't mean it wasn't built that way :) > > > > I agree, and I'm trying to influence the next hardware design. > > However, > > I'm not saying that the hardware should not segment things into > however many > pieces that it wants / needs to. That part is fine. > > > what's already out there is memory units that must be accessed in > > 256MB > > blocks. If you want to remove/add a GB, that's really 4 blocks of > > memory > > you're manipulating, to the hardware. Those blocks have to be > > registered > > and recognized by the kernel for that to work. > > The problem is fitting that into an interface which wholly doesn't > fit that > particular requirement. It's not that difficult to imagine different > ways to > represent however many memory slots, right? It'd take work to make > sure that > integrates well with whatever tooling or use cases but once done this > particular problem will be resolved permanently and the whole thing > will > look a lot less silly. Wouldn't that be better? Well, no, I am finding it difficult to imagine different ways to represent this but perhaps that's because I'm blinker eyed on what a solution might look like because of my file system focus. Can "anyone" throw out some ideas with a little more detail than we have had so far so we can maybe start to formulate an actual plan of what needs to be done. Ian