Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3079360ybt; Mon, 22 Jun 2020 14:32:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy988DLKRpqNHjENGGtmhMdWgfH4w2SUOoFp+/fkbVZJyw1WppGzK7gpthXuqN5XH83keHg X-Received: by 2002:a17:907:b15:: with SMTP id h21mr17930563ejl.450.1592861541630; Mon, 22 Jun 2020 14:32:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592861541; cv=none; d=google.com; s=arc-20160816; b=yWHNn3AtDCTJ2c+2mAxuwNQbfOFP1pO5m3F/JxKWm+uPIZV1YoTlzd/k1Oi/bNBToN F8QXzIzq4eQX5+f5uBRv54rH2rHyxapkbHif7WchQGgmI8LXiBWIuGp0UuM70Ulk+bvL rFSYl06yTHRtFY1is2myfPyhsjlNYB9JbQBHfAJxFiQSNjGdr/e+L9MZi9OYdbjaHR9Z Q5BlY+khMtwGlvcKqD5X7SG0HCqtusOy7MJFaQ/AuWr8evAN2rHEw4M8yeqxAvbQn6Cn lIIaWHDLcvp5I6NK8CEmvHe2tZS4RTY+KMGLUMvI0Std4nBVHaLpuYBUW1nJZXDygu80 CFIQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=qBbIVLp3PjUZZ5Dwt7+7MCaEC5zyhSatn4esdCg2sU0=; b=aiJ4lYH5OZSRtSiPG6m7nDkvQRnjeG4w4pAPHQ1ichMy/qfjLmi31KqPIzHmeXHtC9 9FWYZIzHrBcjllBhc7gt77tHDneqfg1W0f9LukukF5T0Awxg7uY4ur/q+ky5OzaoON5f mu4KegRM0gb8d+2NwZ+mdTLVqnU5yxzoxZZYNO1ejCvuLLRlCgl5HpAdD0NlYXRAaO8f d1EZQAvZFw8/c0mNia8AKULt12kqYnQI7Et0bFWqFUaElwjvs1dwo4tq15UVnZMZEr9q 6AldDKVujR8AEuACWaZNTk/jEYdeqIAGoDpTOU87jWaQRq5vjWP2aOf50ecwUa6mnX0R AfmA== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c20si3424704edj.314.2020.06.22.14.31.58; Mon, 22 Jun 2020 14:32: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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730565AbgFVV1v (ORCPT + 99 others); Mon, 22 Jun 2020 17:27:51 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:37162 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730430AbgFVV1v (ORCPT ); Mon, 22 Jun 2020 17:27:51 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05ML3LJE051171; Mon, 22 Jun 2020 17:27:42 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 31tytdrh1b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jun 2020 17:27:42 -0400 Received: from m0098394.ppops.net (m0098394.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 05ML3OqY051672; Mon, 22 Jun 2020 17:27:41 -0400 Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com with ESMTP id 31tytdrh04-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jun 2020 17:27:41 -0400 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 05MLG4GP018854; Mon, 22 Jun 2020 21:27:40 GMT Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by ppma05wdc.us.ibm.com with ESMTP id 31sa38jkd0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jun 2020 21:27:40 +0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 05MLRdxr49742266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Jun 2020 21:27:39 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 88FA96A04F; Mon, 22 Jun 2020 21:27:39 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CBA316A047; Mon, 22 Jun 2020 21:27:38 +0000 (GMT) Received: from [9.211.67.55] (unknown [9.211.67.55]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 22 Jun 2020 21:27:38 +0000 (GMT) Subject: Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement To: Greg Kroah-Hartman , Tejun Heo , Ian Kent Cc: Stephen Rothwell , Andrew Morton , Al Viro , David Howells , Miklos Szeredi , linux-fsdevel , Kernel Mailing List 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> <429696e9fa0957279a7065f7d8503cb965842f58.camel@themaw.net> <20200622174845.GB13061@mtj.duckdns.org> <20200622180306.GA1917323@kroah.com> From: Rick Lindsley Message-ID: Date: Mon, 22 Jun 2020 14:27:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200622180306.GA1917323@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-06-22_12:2020-06-22,2020-06-22 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 clxscore=1015 malwarescore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 adultscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 impostorscore=0 cotscore=-2147483648 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006220137 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 22, 2020 at 01:48:45PM -0400, Tejun Heo wrote: > It should be obvious that representing each consecutive memory range with a > separate directory entry is far from an optimal way of representing > something like this. It's outright silly. On 6/22/20 11:03 AM, Greg Kroah-Hartman wrote: > I agree. And again, Ian, you are just "kicking the problem down the > road" if we accept these patches. Please fix this up properly so that > this interface is correctly fixed to not do looney things like this. Given that we cannot change the underlying machine representation of this hardware, what do you (all, not just you Greg) consider to be "properly"? Rick