Re: [PATCH v6 09/22] x86/resctrl: Introduce MBM counters bitmap

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

 



Hi Babu,

On 8/19/24 8:49 AM, Moger, Babu wrote:
On 8/16/24 16:35, Reinette Chatre wrote:
On 8/6/24 3:00 PM, Babu Moger wrote:

resource
as parameter but freeing a counter does not. James already proposed different
treatment of the bitmap and L3 resource parameters, I expect with such
guidance
the interfaces will become more intuitive.


How about making "mbm_cntrs_free_map" as part  of struct resctrl_mon?
It will be pointer and allocated dynamically based on number of counters.
All the related information (num_mbm_cntrs and mbm_cntr_assignable) is
already part of this data structure.

That sounds good.

Reinette




[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