Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2430443ybl; Thu, 9 Jan 2020 12:37:26 -0800 (PST) X-Google-Smtp-Source: APXvYqzKn6hvObh1ynJdt70O5TJr1FIFyOvmJAwB+e7Fi6iFyDG1vfueDnkWA/9e3ec/X6Sw+Pdo X-Received: by 2002:a9d:1b26:: with SMTP id l35mr10208501otl.307.1578602246438; Thu, 09 Jan 2020 12:37:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578602246; cv=none; d=google.com; s=arc-20160816; b=NFIHYUBJqCtTyYIzhvxkmKalyBw5UJCb4v2ecv2mXvFIdi0DTESC7YaxB/MAULTM95 a7iQVfTlxmZh6hFKqvG9dHW7m0B8GE/iAeabz5VLiREWQbpSP7wuB98xSIRuAW1Oi/8F lksjCjk91dfzG+v/D8XEnA+LTOi6Jkansx3uba+TpEls9RhyU7sjNWEigATj3KT2yZeD dvUMzbzaMfy+s+A8FXA7vDG44zgq8V7JTv1kuzdTl9xNtRnVXL7Sw03/u218wh65zdWu T8VPp1uHassm/jt3Z5U4bbfOmWIxShf9S5KpIp+5K2mTvGShSS3et8DQcj9rq2qkvR9p 9Z2g== 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; bh=Qk2935tyndrkY5LuQ4F+J96yxvvKHakNKNaDMs78RgY=; b=p899C5twCIKlYaVSDG0EkKihGE2LHcTa4bXzGtT/16vT+rYStEpaqyVJm0wrYl7XDt 7JmPjsqeEOqT80PzXmpd+PLhQVzEKWZvqk6kn+jKdhMmSa1qzJ+xU3EjA3noSOKl1luh ldFNgpfj3eaYAwQXhNgDcmt+fXtJ+4d9h8/PLogKMyYk7URYwQe3GCdJDvPr0sGiruD6 ddVmRN8QffZF7PecS9Fn1USlCWT4Gi4GT2zC4pnZu1xuZRQ+YoxATTD8QbdbvZR9c6zg twM4M5Je/PwpT9mR/r7ycIoREoDVMh3vVZ1n90H5GM5IMEY2vyRcIy6GJMa6FsbUJiKQ tMog== ARC-Authentication-Results: i=1; mx.google.com; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si4289491oid.84.2020.01.09.12.37.14; Thu, 09 Jan 2020 12:37:26 -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; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731829AbgAIRct (ORCPT + 99 others); Thu, 9 Jan 2020 12:32:49 -0500 Received: from mga09.intel.com ([134.134.136.24]:17885 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbgAIRcs (ORCPT ); Thu, 9 Jan 2020 12:32:48 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2020 09:32:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,414,1571727600"; d="scan'208";a="423323930" Received: from chenyu-office.sh.intel.com ([10.239.158.173]) by fmsmga006.fm.intel.com with ESMTP; 09 Jan 2020 09:32:44 -0800 Date: Fri, 10 Jan 2020 01:31:40 +0800 From: Yu Chen To: Chris Down Cc: x86@kernel.org, Thomas Gleixner , Borislav Petkov , Ingo Molnar , "H. Peter Anvin" , Alexey Dobriyan , Andrew Morton , Reinette Chatre , Fenghua Yu , Tony Luck , Michal Hocko , Linus Torvalds , linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][RESEND v5] x86/resctrl: Add task resctrl information display Message-ID: <20200109173140.GB11490@chenyu-office.sh.intel.com> References: <20200109135001.10076-1-yu.c.chen@intel.com> <20200109145355.GC61542@chrisdown.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200109145355.GC61542@chrisdown.name> 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 Hi Chris, Thanks for looking at this patch. On Thu, Jan 09, 2020 at 02:53:55PM +0000, Chris Down wrote: > Chen Yu writes: > > +#ifdef CONFIG_PROC_CPU_RESCTRL > > + ONE("resctrl", S_IRUGO, proc_resctrl_show), > > There was already some discussion about "resctrl" by itself being a > misleading name, hence why the CONFIG option eventually became > CONFIG_X86_CPU_RESCTRL. Can you please rethink the name of this /proc file, > and have it at least be "cpu_resctrl" or "x86_resctrl" or similar? :-) Ok, I'll change the name from "resctrl" to "cpu_resctrl", because: 1. it is a CPU feature so a 'cpu' prefixed seems to be more obvious, 2. other CPUs than x86 could also use this file in the future. Thanks, Chenyu