From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755928AbcJZRgC (ORCPT ); Wed, 26 Oct 2016 13:36:02 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:41063 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754321AbcJZRgA (ORCPT ); Wed, 26 Oct 2016 13:36:00 -0400 Date: Wed, 26 Oct 2016 19:33:07 +0200 (CEST) From: Thomas Gleixner To: "Luck, Tony" cc: "Yu, Fenghua" , "Anvin, H Peter" , Ingo Molnar , Peter Zijlstra , Stephane Eranian , Borislav Petkov , "Hansen, Dave" , Nilay Vaish , Shaohua Li , David Carrillo-Cisneros , "Shankar, Ravi V" , "Prakhya, Sai Praneeth" , Vikas Shivappa , linux-kernel , x86 Subject: Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system In-Reply-To: <80F15F82-8996-4979-8F10-57798C4F87EB@intel.com> Message-ID: References: <1477142405-32078-1-git-send-email-fenghua.yu@intel.com> <1477142405-32078-13-git-send-email-fenghua.yu@intel.com>, <80F15F82-8996-4979-8F10-57798C4F87EB@intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Oct 2016, Luck, Tony wrote: > >> + .mode = 0444, > >> + .kf_ops = &rdtgroup_kf_single_ops, > >> + .seq_show = rdt_num_closid_show, > >> + }, > >> + { > >> + .name = "cbm_val", > > > > cbm_val? Is that a value? No, it's the valid bitmask which you can set. So > > cmb_mask or something else which is unambiguous is what you want here. > > > > This is a user space interface and we really must make it as intuitive as > > possible. > > It's a bit mask for cache resources. But this interface will also control resources that are not caches, so I'd like to avoid "cbm" in the name. Perhaps "max_val"? > max_val is misleading if it's always a bit mask. 'bitmask' might not be the worst choice then. Thanks, tglx