Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1509638
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system |
| Date | 2016-10-26 19:40 +0200 |
| Message-ID | <swAlc-6WH-23@gated-at.bofh.it> (permalink) |
| References | <sv4x3-3Ya-11@gated-at.bofh.it> <swyCJ-5Mj-19@gated-at.bofh.it> <swyCJ-5Mj-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system "Fenghua Yu" <fenghua.yu@intel.com> - 2016-10-22 15:30 +0200
Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system Thomas Gleixner <tglx@linutronix.de> - 2016-10-26 16:50 +0200
Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system "Luck, Tony" <tony.luck@intel.com> - 2016-10-26 17:50 +0200
Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system Thomas Gleixner <tglx@linutronix.de> - 2016-10-26 19:40 +0200
Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system Fenghua Yu <fenghua.yu@intel.com> - 2016-10-27 20:20 +0200
Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system Thomas Gleixner <tglx@linutronix.de> - 2016-10-27 20:30 +0200
Re: [PATCH v5 12/18] x86/intel_rdt: Add "info" files to resctrl file system Fenghua Yu <fenghua.yu@intel.com> - 2016-10-27 20:40 +0200
csiph-web