Re: [PATCH v8 20/25] x86/resctrl: Report "Unassigned" for MBM events in mbm_cntr_assign mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tony,

On 10/11/2024 12:23 PM, Tony Luck wrote:
On Wed, Oct 09, 2024 at 12:39:45PM -0500, Babu Moger wrote:
@@ -576,6 +576,15 @@ int rdtgroup_mondata_show(struct seq_file *m, void *arg)
  	evtid = md.u.evtid;
  	r = &rdt_resources_all[resid].r_resctrl;
+ if (resctrl_arch_mbm_cntr_assign_enabled(r) && evtid != QOS_L3_OCCUP_EVENT_ID) {

Better to write this as:

	if (resctrl_arch_mbm_cntr_assign_enabled(r) && is_mbm_event(evtid)) {


Sure. will do.
Thanks
- Babu Moger




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux