Re: [PATCH v6 03/10] x86/intel_rdt: Add basic resctrl filesystem support

2016-10-30 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Fenghua Yu wrote: > +static void l3_qos_cfg_update(void *arg) > +{ > + bool *enable = arg; > + > + wrmsrl(IA32_L3_QOS_CFG, *enable); > +} > + > +static int set_l3_qos_cfg(struct rdt_resource *r, bool enable) > +{ > + cpumask_var_t cpu_mask; > + struct

Re: [PATCH v6 03/10] x86/intel_rdt: Add basic resctrl filesystem support

2016-10-30 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Fenghua Yu wrote: > +static void l3_qos_cfg_update(void *arg) > +{ > + bool *enable = arg; > + > + wrmsrl(IA32_L3_QOS_CFG, *enable); > +} > + > +static int set_l3_qos_cfg(struct rdt_resource *r, bool enable) > +{ > + cpumask_var_t cpu_mask; > + struct

[PATCH v6 03/10] x86/intel_rdt: Add basic resctrl filesystem support

2016-10-28 Thread Fenghua Yu
From: Fenghua Yu Use kernfs as basis for our user interface filesystem. This patch supports mount/umount, and one mount parameter "cdp" to enable code/data prioritization (though all we do at this point is ensure that the system can support CDP). The file system is not

[PATCH v6 03/10] x86/intel_rdt: Add basic resctrl filesystem support

2016-10-28 Thread Fenghua Yu
From: Fenghua Yu Use kernfs as basis for our user interface filesystem. This patch supports mount/umount, and one mount parameter "cdp" to enable code/data prioritization (though all we do at this point is ensure that the system can support CDP). The file system is not populated yet in this