Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3212568imu; Sat, 24 Nov 2018 00:13:39 -0800 (PST) X-Google-Smtp-Source: AFSGD/XqQF1H9yyIF2KrNHX+HXttsFG800VhMzene9ChYjC1JMYKRkhwHpQDaQ+VHupYqxtISzyK X-Received: by 2002:a17:902:2ac3:: with SMTP id j61mr18994534plb.185.1543047219703; Sat, 24 Nov 2018 00:13:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543047219; cv=none; d=google.com; s=arc-20160816; b=TsG0baP+emvqj/Pz/9gSOBxFw4gSC9K96gQLu4dwW3fH9YdsthqC2ONEneGd9vYYMX gTaFcwSB89LBHZUldgO4vDu06K0vluiEVWKXaK/Iw4+aLRBPJR8Y/zyNOAO7dFXHnTkY dJl3smVjt123qHd7wawrx6pRMihOEeVjQitt0CJQ9gOFZFt/eCK+AtgJLb7TXU3Esz+x kl1sTkJ1uL0hwkMezKqlrBMX87U5y4aTb/sYJgrn3rNeAaj2SYIyVUicsOPpHc2RpZcS Tsc3lMS29KprnM5F0OhJe91EUL8hCmMFgeBbtXPx3FP82fipYIDkOusPvH7+6e+ij5W8 fviw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9ZSYLab7HY9XRC3GBGk1/q+DxHiRagL9mfUqeZT0uzM=; b=AOW8hYMonya0owZHxcYqWXcPvqoEkhQQ1B/uNzt5DzzmdLiSlk5eYfsoOYlZT1SPLb 5ZIwgHPf5g1SSnzyzSBsjoJz3qjJyWZ07i3R/TMli3wC039iMTsH8y3eXY3ttlwF/Otz Y8KMg8yATzXq5+s04cK9vRTwj0SZbFkGi0YqY8ZYhE2xO4a1IYwUEmQ5Y554CRzC3aLF 6N13TMzS/lSyzzydRIsNVYFDHN9dDWwtjs/bUXsVWTkY+R7OqTT0DYJLXD2WQOrNg/Lw kYjeRUEXcCJp7kfAtkAwDXjzfTIYMlEHqltFRupIjonNUqoSfqCjVnEP0NVfCN8xpAM0 7bZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=hcRg1IaV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si38228310plr.306.2018.11.24.00.13.25; Sat, 24 Nov 2018 00:13:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=hcRg1IaV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408693AbeKWTYj (ORCPT + 99 others); Fri, 23 Nov 2018 14:24:39 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37160 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393776AbeKWTYi (ORCPT ); Fri, 23 Nov 2018 14:24:38 -0500 Received: by mail-wr1-f65.google.com with SMTP id j10so11484857wru.4; Fri, 23 Nov 2018 00:41:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9ZSYLab7HY9XRC3GBGk1/q+DxHiRagL9mfUqeZT0uzM=; b=hcRg1IaV0Z9lOZ9xCNh6/H2i0W8qaeykFNPnOzCKqsjSm4v7ycQVNsQMuDszZaUT5y XfxFy3mijO9FxtD+XfaWYH+H54x3tCgDahsHKMyIdzRlxI4gP9Wc6G4K8354T4duoOWg XJHszepvlsI1Bp33MY0EofFQD3HSEIl9U+7hLqcEGTE1KmMnA/SDr5kf8sM48FjIvFRF eP2j9B9a4TYZF9lbYgZ8SsEQBpfeht1OmxpV5ipShivGezDUUWsRG1eeGTXPWpt0c87U szPtP2+UvTlQoQW9l4nNkmbAroADuodklG+0j3g9ar8y8xYeilG+Aliaf94IMXdbtcNt AbUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=9ZSYLab7HY9XRC3GBGk1/q+DxHiRagL9mfUqeZT0uzM=; b=rG/OPP0HF1ykrl2VxvIvYaKyAX+2n4ylKg+nBUIRqdUS59KDOAk5OhdBw/t5tJK+BJ PRCEc0Q8w4Qx/W+kBegIhset4dTmDYM7Kr6d+VlkXBrq3mBEym1SRXeKuAUuw+mDf0Ym SSah15sl7rD2NCeJKwirc6l9mUpGKMc3Mc+c+YlWb3ToTWA3ZJt5Bk60ZZUE9KMYYEIu W4XJr0RZqV4+hCKCZFrClf6a6skFLS1XzFTZg+wYhd2r4Veknb0OAG7Vvxw0l/O/RKMT IaIjjhrD+Iv4ZfMqvEPpf2mMsFcKiWThLydjBnJVEj4K5vwt7amBak5eostU3snlZCC9 zhEA== X-Gm-Message-State: AA+aEWapz+sz8ovccw94qJptaB9/SYwpHc9LGpMf8mP3lraKeNNp9YbH yDbiiOkcpeqqAJknKO3E4JM= X-Received: by 2002:adf:bb44:: with SMTP id x4mr13407472wrg.24.1542962481093; Fri, 23 Nov 2018 00:41:21 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id c13sm17717467wrb.38.2018.11.23.00.41.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Nov 2018 00:41:20 -0800 (PST) Date: Fri, 23 Nov 2018 09:41:17 +0100 From: Ingo Molnar To: Borislav Petkov Cc: "Moger, Babu" , "tglx@linutronix.de" , "mingo@redhat.com" , "corbet@lwn.net" , "fenghua.yu@intel.com" , "reinette.chatre@intel.com" , "peterz@infradead.org" , "gregkh@linuxfoundation.org" , "davem@davemloft.net" , "akpm@linux-foundation.org" , "hpa@zytor.com" , "x86@kernel.org" , "mchehab+samsung@kernel.org" , "arnd@arndb.de" , "kstewart@linuxfoundation.org" , "pombredanne@nexb.com" , "rafael@kernel.org" , "kirill.shutemov@linux.intel.com" , "tony.luck@intel.com" , "qianyue.zj@alibaba-inc.com" , "xiaochen.shen@intel.com" , "pbonzini@redhat.com" , "Singh, Brijesh" , "Hurwitz, Sherry" , "dwmw2@infradead.org" , "Lendacky, Thomas" , "luto@kernel.org" , "joro@8bytes.org" , "jannh@google.com" , "vkuznets@redhat.com" , "rian@alum.mit.edu" , "jpoimboe@redhat.com" , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" Subject: Re: [PATCH v9 01/13] x86/resctrl: Rename and move rdt files to new directory Message-ID: <20181123084117.GA130228@gmail.com> References: <20181121202811.4492-1-babu.moger@amd.com> <20181121202811.4492-2-babu.moger@amd.com> <20181123072839.GA51597@gmail.com> <20181123082258.GA30697@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181123082258.GA30697@zn.tnic> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Borislav Petkov wrote: > On Fri, Nov 23, 2018 at 08:28:39AM +0100, Ingo Molnar wrote: > > Ugh, violent NAK on this unreadable directory naming: 'resctrl' is an > > ugly double/triple abbreviation that nobody recognizes for what it is to > > begin with, and even the long form 'resource control' is an overly > > generic naming - *everything* the kernel does is in essence 'resource > > control' ... > > Well, the fs this thing uses is called "resctrl". > > Documentation/x86/resctrl_ui.txt:1075:the resctrl will still mount but cannot create CTRL_MON directories. > Documentation/x86/resctrl_ui.txt:1082:# mount -t resctrl resctrl /sys/fs/resctrl > Documentation/x86/resctrl_ui.txt:1083:# cd /sys/fs/resctrl > > Are you saying that the fs should be renamed now too? Sigh, probably not. I only noticed this naming snafu with the renaming commit. The high level name was always RDT-ish - which while an acronym is at least is a familiar high level name now with no obvious generic namespace collision, while 'resctrl' less so. > How are those *abbreviations* better? "hw_bw" is especially cryptic and > the others are no better. Those were suggestions - but I'd be fine with 'resource_control': > "resctrl" to mean "resource control" is much better IMO. Then at least make the directory name resource_control/, which is only marginally longer and a lot more readable. We really don't have to fit directly names into the 8 character DOS limit anymore. ;-) > [...] And it is different from the "other" resource controlling the > kernel does because it is under arch/x86/kernel/cpu/ which tells you it > is a *CPU* resource control. Yeah, so this is not obvious from the filesystem name, nor does it excuse the pointless abbreviation. High level names matter. Also, the Kconfig space, when it gets extended with the AMD bits, should probably follow the same nomenclature: CONFIG_X86_CPU_RESOURCE_CONTROL=y or such. Ingo