[PATCH 08/10] x86/intel_rdt: Implement scheduling support for Intel RDT

2015-06-23 Thread Vikas Shivappa
Adds support for IA32_PQR_ASSOC MSR writes during task scheduling. For Cache Allocation, MSR write would let the task fill in the cache 'subset' represented by the cgroup's cache_mask. The high 32 bits in the per processor MSR IA32_PQR_ASSOC represents the CLOSid. During context switch kernel imp

[PATCH 08/10] x86/intel_rdt: Implement scheduling support for Intel RDT

2015-06-12 Thread Vikas Shivappa
Adds support for IA32_PQR_ASSOC MSR writes during task scheduling. For Cache Allocation, MSR write would let the task fill in the cache 'subset' represented by the cgroup's cache_mask. The high 32 bits in the per processor MSR IA32_PQR_ASSOC represents the CLOSid. During context switch kernel imp

Re: [PATCH 08/10] x86/intel_rdt: Implement scheduling support for Intel RDT

2015-06-10 Thread Vikas Shivappa
Adds support for IA32_PQR_ASSOC MSR writes during task scheduling. For Cache Allocation, MSR write would let the task fill in the cache 'subset' represented by the cgroup's cache_mask. The high 32 bits in the per processor MSR IA32_PQR_ASSOC represents the CLOSid. During context switch kernel imp

Re: [PATCH 08/10] x86/intel_rdt: Implement scheduling support for Intel RDT

2015-06-08 Thread Vikas Shivappa
On Sat, 6 Jun 2015, Thomas Gleixner wrote: On Thu, 4 Jun 2015, Vikas Shivappa wrote: +static inline void intel_rdt_sched_in(void) +{ + if (static_key_false(&rdt_enable_key)) + __intel_rdt_sched_in(); So if the enable_key is FALSE we call the RDT stuff? I might be missing

Re: [PATCH 08/10] x86/intel_rdt: Implement scheduling support for Intel RDT

2015-06-08 Thread Vikas Shivappa
On Mon, 8 Jun 2015, Thomas Gleixner wrote: On Sat, 6 Jun 2015, Thomas Gleixner wrote: On Thu, 4 Jun 2015, Vikas Shivappa wrote: +static inline void intel_rdt_sched_in(void) +{ + if (static_key_false(&rdt_enable_key)) + __intel_rdt_sched_in(); So if the enable_key is FA

Re: [PATCH 08/10] x86/intel_rdt: Implement scheduling support for Intel RDT

2015-06-08 Thread Thomas Gleixner
On Sat, 6 Jun 2015, Thomas Gleixner wrote: > On Thu, 4 Jun 2015, Vikas Shivappa wrote: > > +static inline void intel_rdt_sched_in(void) > > +{ > > + if (static_key_false(&rdt_enable_key)) > > + __intel_rdt_sched_in(); > > So if the enable_key is FALSE we call the RDT stuff? I might be

Re: [PATCH 08/10] x86/intel_rdt: Implement scheduling support for Intel RDT

2015-06-06 Thread Thomas Gleixner
On Thu, 4 Jun 2015, Vikas Shivappa wrote: > +static inline void intel_rdt_sched_in(void) > +{ > + if (static_key_false(&rdt_enable_key)) > + __intel_rdt_sched_in(); So if the enable_key is FALSE we call the RDT stuff? I might be missing something important, but this does not make a

[PATCH 08/10] x86/intel_rdt: Implement scheduling support for Intel RDT

2015-06-04 Thread Vikas Shivappa
Adds support for IA32_PQR_ASSOC MSR writes during task scheduling. For Cache Allocation, MSR write would let the task fill in the cache 'subset' represented by the cgroup's cache_mask. The high 32 bits in the per processor MSR IA32_PQR_ASSOC represents the CLOSid. During context switch kernel imp

[PATCH 08/10] x86/intel_rdt: Implement scheduling support for Intel RDT

2015-06-03 Thread Vikas Shivappa
Adds support for IA32_PQR_ASSOC MSR writes during task scheduling. For Cache Allocation, MSR write would let the task fill in the cache 'subset' represented by the cgroup's cache_mask. The high 32 bits in the per processor MSR IA32_PQR_ASSOC represents the CLOSid. During context switch kernel imp