lkml.org 
[lkml]   [2023]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v11 1/8] x86/resctrl: Prepare for new domain scope
Date
> > +static int get_domain_id_from_scope(int cpu, enum resctrl_scope scope)
> > +{
> > + switch (scope) {
> > + case RESCTRL_L2_CACHE:
> > + case RESCTRL_L3_CACHE:
> > + return get_cpu_cacheinfo_id(cpu, scope);
> > + default:
> > + break;
> > + }
> > +
> > + return -EINVAL;
> > +}
>
> This function is meanigfull when you introduce node scope RESCTRL_NODE.
>
> Can you please move this to patch 5?

Code has been this way since v5. I'll note your opinion and if others agree I'll
move it. But I think this is a reasonable part of the first step moving away from
purely cache scope for domains.

-Tony
\
 
 \ /
  Last update: 2023-11-20 13:58    [W:0.390 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site