Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5219249imu; Tue, 29 Jan 2019 15:09:36 -0800 (PST) X-Google-Smtp-Source: ALg8bN4+JsdkwgjKbsdGZL3WWFHn4Crfwk/tmofwQE4LyXMWsLoNwlee1Y/neF29WfwJC+ErOika X-Received: by 2002:a63:4706:: with SMTP id u6mr24059661pga.95.1548803376055; Tue, 29 Jan 2019 15:09:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548803376; cv=none; d=google.com; s=arc-20160816; b=H0I9uhgJVVCbKLcQLMFtPjy58rWZMYjwMpwVPqCqgFnnurrxajNSk5gH5wzJe6toxO /7TdI5dLWPFTW8PxsGuL0vfhtJgot+iFKCEdxW97/nMTm2sVQYcjVaX9zIVnLMHKTH1/ A+rIl1D7Kjl07KUOHeHDL3zsp5vyVBR28uj918FMSX8d6ILnDV+zWIBgnsQwrdLVxs4/ GgBpBAp0UgSpSjMclnaJ92lF7Dlz55YFZgPCjlR0F8YN3EjIisH9tfGnQ3K2qtp7qKqK tvtnbRCersH6EAAsI7f2vxmztkyGlfLoW+w5NeJ1LL+D3pvPchYyAEmUjlxV1lrYULUu 6VBQ== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=9HL044rTrBNKNdcUVfhhKsFCPHdIA/umqh4wuKOP1nA=; b=mW5z+Zp0x358QzCte+RC2l/oNIEbkhTItOC5Iv05MCXlWO2mqDdvZSBCjOWXV9AzHW H6URlVkTJLF5PAEc56tjP7DCnBD2GjfFCSrrCThoUmjcXuRgx8UF+D2N0GOjaHhUlZDH myToOeeQsWDff5K00OH+qYiWRjENLJHv/Uv0B9zxOJJPXiUF4SFbFpcP4RREKqQB8M2f gnOFB8l0NOmDZHuWRGyyx+A5EHpS/HYGdrb3wmWN4qoz/CmbhYf/R5JX/pEujP+96Xai fbyq2uO7oocxkCAh9RbOiOL/zSI6/CkQ/j1j73nrMhHlsW8rbChuwu9Ipg90aTovGMrm xH4Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x32si37724945pld.316.2019.01.29.15.09.20; Tue, 29 Jan 2019 15:09:36 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728432AbfA2XJA (ORCPT + 99 others); Tue, 29 Jan 2019 18:09:00 -0500 Received: from mx2.suse.de ([195.135.220.15]:52678 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726980AbfA2XJA (ORCPT ); Tue, 29 Jan 2019 18:09:00 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 05023AD65; Tue, 29 Jan 2019 23:08:58 +0000 (UTC) Date: Wed, 30 Jan 2019 00:08:45 +0100 From: Borislav Petkov To: Johannes Weiner Cc: Babu Moger , linux-kernel@vger.kernel.org, Fenghua Yu , Reinette Chatre , Tony Luck Subject: Re: [PATCH] x86: avoid confusion over the new RESCTRL config prompt Message-ID: <20190129230845.GG28773@zn.tnic> References: <20190129225218.15441-1-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190129225218.15441-1-hannes@cmpxchg.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 29, 2019 at 05:52:18PM -0500, Johannes Weiner wrote: > "Resource Control" is a very broad term for this CPU feature, and a > term that is also associated with containers, cgroups etc. This can > easily cause confusion. > > Make the user prompt more specific. > > Signed-off-by: Johannes Weiner > --- > arch/x86/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > As somebody who works in "resource control", this prompt in oldconfig > certainly had me go wtf. Can we do something more specific? Well, since this is an interface to a hardware feature, we could call it Hardware Resource Control for example. I.e., HW_RESCTRL. Linus had another suggestion - CPU_RESCTRL - which sounds ok to me too. > Not insisting on this name, and I haven't renamed all the config > symbols yet, but we should probably fix this before 5.0 is released. > > Thanks! > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 26387c7bf305..426677b759c0 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -447,11 +447,11 @@ config RETPOLINE > support for full protection. The kernel may run slower. > > config X86_RESCTRL > - bool "Resource Control support" > + bool "x86 cache control support" Except that it is not only cache but memory (bandwidth) control too. So I guess bool "CPU Resource Control support" or so. Let the bikeshedding begin! :-) -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)