lkml.org 
[lkml]   [2024]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v1 12/31] x86/resctrl: Move max_{name,data}_width into resctrl code
From
Hi James,

On 3/21/2024 9:50 AM, James Morse wrote:
> @@ -2595,6 +2601,12 @@ static int schemata_list_add(struct rdt_resource *r, enum resctrl_conf_type type
> if (cl > max_name_width)
> max_name_width = cl;
>
> + /*
> + * Choose a width for the resource data based on the resource that has
> + * widest name and cbm.

Please check series to ensure upper case is used for acronyms.

> + */
> + max_data_width = max(max_data_width, r->data_width);
> +
> INIT_LIST_HEAD(&s->list);
> list_add(&s->list, &resctrl_schema_all);
>

Reinette

\
 
 \ /
  Last update: 2024-04-09 05:19    [W:0.537 / U:1.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site