RE: [PATCH 4/6] x86/intel_rdt: Add two new resources for L2 Code and Data Prioritization (CDP)

2017-12-20 Thread Yu, Fenghua
> > When L2 CDP is enabled, the schemata will have the two resources in
> > this format:
> > L2DATA:l2id0=;l2id1=;
> > L2CODE:l2id0=;l2id1=;
> 
> Hi,
> 
> What do the  represent?

The  represents CBM (Cache Bit Mask) values in the schemata, similar to all 
others (L2 CAT/L3 CAT/L3 CDP).

Thanks.

-Fenghua


RE: [PATCH 4/6] x86/intel_rdt: Add two new resources for L2 Code and Data Prioritization (CDP)

2017-12-20 Thread Yu, Fenghua
> > When L2 CDP is enabled, the schemata will have the two resources in
> > this format:
> > L2DATA:l2id0=;l2id1=;
> > L2CODE:l2id0=;l2id1=;
> 
> Hi,
> 
> What do the  represent?

The  represents CBM (Cache Bit Mask) values in the schemata, similar to all 
others (L2 CAT/L3 CAT/L3 CDP).

Thanks.

-Fenghua


Re: [PATCH 4/6] x86/intel_rdt: Add two new resources for L2 Code and Data Prioritization (CDP)

2017-12-20 Thread Randy Dunlap
On 12/20/2017 02:57 PM, Fenghua Yu wrote:
> From: Fenghua Yu 
> 
> L2 data and L2 code are added as new resources in rdt_resources_all[]
> and data in the resources are configured.
> 
> When L2 CDP is enabled, the schemata will have the two resources in
> this format:
> L2DATA:l2id0=;l2id1=;
> L2CODE:l2id0=;l2id1=;

Hi,

What do the  represent?

Thanks.

> Signed-off-by: Fenghua Yu 
> ---
>  arch/x86/kernel/cpu/intel_rdt.c | 66 
> ++---
>  arch/x86/kernel/cpu/intel_rdt.h |  2 ++
>  2 files changed, 58 insertions(+), 10 deletions(-)


-- 
~Randy


Re: [PATCH 4/6] x86/intel_rdt: Add two new resources for L2 Code and Data Prioritization (CDP)

2017-12-20 Thread Randy Dunlap
On 12/20/2017 02:57 PM, Fenghua Yu wrote:
> From: Fenghua Yu 
> 
> L2 data and L2 code are added as new resources in rdt_resources_all[]
> and data in the resources are configured.
> 
> When L2 CDP is enabled, the schemata will have the two resources in
> this format:
> L2DATA:l2id0=;l2id1=;
> L2CODE:l2id0=;l2id1=;

Hi,

What do the  represent?

Thanks.

> Signed-off-by: Fenghua Yu 
> ---
>  arch/x86/kernel/cpu/intel_rdt.c | 66 
> ++---
>  arch/x86/kernel/cpu/intel_rdt.h |  2 ++
>  2 files changed, 58 insertions(+), 10 deletions(-)


-- 
~Randy