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.