Re: [PATCH 1/3] x86/resctrl: Move setting task's active CPU in a mask into helpers

2020-12-09 Thread Reinette Chatre
Hi James, Thank you very much for your review. On 12/9/2020 8:47 AM, James Morse wrote: Hi Reinette, Fenghua, On 03/12/2020 23:25, Reinette Chatre wrote: From: Fenghua Yu The code of setting the CPU on which a task is running in a CPU mask is moved into a couple of helpers. The new helper

Re: [PATCH 1/3] x86/resctrl: Move setting task's active CPU in a mask into helpers

2020-12-09 Thread James Morse
Hi Reinette, Fenghua, On 03/12/2020 23:25, Reinette Chatre wrote: > From: Fenghua Yu > > The code of setting the CPU on which a task is running in a CPU mask is > moved into a couple of helpers. The new helper task_on_cpu() will be > reused shortly. > diff --git

Re: [PATCH 1/3] x86/resctrl: Move setting task's active CPU in a mask into helpers

2020-12-08 Thread Reinette Chatre
Hi Borislav, On 12/8/2020 1:49 AM, Borislav Petkov wrote: On Mon, Dec 07, 2020 at 01:24:51PM -0800, Reinette Chatre wrote: How about: "Move the setting of the CPU on which a task is running in a CPU mask into a couple of helpers. There is no functional change. This is a preparatory change for

Re: [PATCH 1/3] x86/resctrl: Move setting task's active CPU in a mask into helpers

2020-12-08 Thread Borislav Petkov
On Mon, Dec 07, 2020 at 01:24:51PM -0800, Reinette Chatre wrote: > How about: > "Move the setting of the CPU on which a task is running in a CPU mask into a > couple of helpers. > > There is no functional change. This is a preparatory change for the fix in > the following patch from where the

Re: [PATCH 1/3] x86/resctrl: Move setting task's active CPU in a mask into helpers

2020-12-07 Thread Reinette Chatre
Hi Borislav, Thank you very much for your review. On 12/7/2020 10:29 AM, Borislav Petkov wrote: On Thu, Dec 03, 2020 at 03:25:48PM -0800, Reinette Chatre wrote: From: Fenghua Yu The code of setting the CPU on which a task is running in a CPU mask is moved into a couple of helpers. Pls

Re: [PATCH 1/3] x86/resctrl: Move setting task's active CPU in a mask into helpers

2020-12-07 Thread Borislav Petkov
On Thu, Dec 03, 2020 at 03:25:48PM -0800, Reinette Chatre wrote: > From: Fenghua Yu > > The code of setting the CPU on which a task is running in a CPU mask is > moved into a couple of helpers. Pls read section "2) Describe your changes" in Documentation/process/submitting-patches.rst for more

[PATCH 1/3] x86/resctrl: Move setting task's active CPU in a mask into helpers

2020-12-03 Thread Reinette Chatre
From: Fenghua Yu The code of setting the CPU on which a task is running in a CPU mask is moved into a couple of helpers. The new helper task_on_cpu() will be reused shortly. Signed-off-by: Fenghua Yu Signed-off-by: Reinette Chatre Reviewed-by: Tony Luck Cc: sta...@vger.kernel.org ---