Re: [PATCH 03/24] x86/resctrl: Add resctrl_arch_get_num_closid()

2021-03-12 Thread James Morse
Hi Reinette, On 17/11/2020 19:57, Reinette Chatre wrote: > On 10/30/2020 9:10 AM, James Morse wrote: >> resctrl chooses whether to enable CDP, once it does, half the number >> of closid are available. MPAM doesn't behave like this, an in-kernel user >> of MPAM could be 'using CDP' while resctrl

Re: [PATCH 03/24] x86/resctrl: Add resctrl_arch_get_num_closid()

2020-11-17 Thread Reinette Chatre
Hi James, On 10/30/2020 9:10 AM, James Morse wrote: resctrl chooses whether to enable CDP, once it does, half the number of closid are available. MPAM doesn't behave like this, an in-kernel user of MPAM could be 'using CDP' while resctrl is not. To move the 'half the closids' behaviour to be

[PATCH 03/24] x86/resctrl: Add resctrl_arch_get_num_closid()

2020-10-30 Thread James Morse
resctrl chooses whether to enable CDP, once it does, half the number of closid are available. MPAM doesn't behave like this, an in-kernel user of MPAM could be 'using CDP' while resctrl is not. To move the 'half the closids' behaviour to be part of the core code, each schema would have a