Re: [PATCH 16/28] x86/intel_rdt: Prepare to add RDT monitor cpus file support

2017-08-01 Thread Shivappa Vikas
On Tue, 1 Aug 2017, Thomas Gleixner wrote: On Tue, 25 Jul 2017, Vikas Shivappa wrote: /* * The cached intel_pqr_state is strictly per CPU and can never be * updated from a remote CPU. Functions which modify the state @@ -49,6 +47,8 @@ */ DEFINE_PER_CPU(struct intel_pqr_state,

Re: [PATCH 16/28] x86/intel_rdt: Prepare to add RDT monitor cpus file support

2017-08-01 Thread Shivappa Vikas
On Tue, 1 Aug 2017, Thomas Gleixner wrote: On Tue, 25 Jul 2017, Vikas Shivappa wrote: /* * The cached intel_pqr_state is strictly per CPU and can never be * updated from a remote CPU. Functions which modify the state @@ -49,6 +47,8 @@ */ DEFINE_PER_CPU(struct intel_pqr_state,

Re: [PATCH 16/28] x86/intel_rdt: Prepare to add RDT monitor cpus file support

2017-08-01 Thread Thomas Gleixner
On Tue, 25 Jul 2017, Vikas Shivappa wrote: > /* > * The cached intel_pqr_state is strictly per CPU and can never be > * updated from a remote CPU. Functions which modify the state > @@ -49,6 +47,8 @@ > */ > DEFINE_PER_CPU(struct intel_pqr_state, pqr_state); > >

Re: [PATCH 16/28] x86/intel_rdt: Prepare to add RDT monitor cpus file support

2017-08-01 Thread Thomas Gleixner
On Tue, 25 Jul 2017, Vikas Shivappa wrote: > /* > * The cached intel_pqr_state is strictly per CPU and can never be > * updated from a remote CPU. Functions which modify the state > @@ -49,6 +47,8 @@ > */ > DEFINE_PER_CPU(struct intel_pqr_state, pqr_state); > >

[PATCH 16/28] x86/intel_rdt: Prepare to add RDT monitor cpus file support

2017-07-25 Thread Vikas Shivappa
Separate the ctrl cpus file handling from the generic cpus file handling and convert the per cpu closid from u32 to a struct which will be used later to add rmid to the same struct. Also cleanup some name space. Signed-off-by: Vikas Shivappa ---

[PATCH 16/28] x86/intel_rdt: Prepare to add RDT monitor cpus file support

2017-07-25 Thread Vikas Shivappa
Separate the ctrl cpus file handling from the generic cpus file handling and convert the per cpu closid from u32 to a struct which will be used later to add rmid to the same struct. Also cleanup some name space. Signed-off-by: Vikas Shivappa --- arch/x86/include/asm/intel_rdt_sched.h | 4 +-