[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160805104922.GA857@kroah.com>
Date: Fri, 5 Aug 2016 12:49:22 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: chaixianping@...wei.com
Cc: lizefan@...wei.com, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Zhenghua Jia <jiazhenghua@...wei.com>,
Leeyou <leeyou.li@...wei.com>, Lei Liu <liulei@...wei.com>
Subject: Re: [PATCH] Cgroup:Fix race between fork and update cpuset mask
On Thu, Aug 04, 2016 at 07:23:03PM +0800, chaixianping@...wei.com wrote:
> From: chaixianping <chaixianping@...wei.com>
>
> Fix the race between fork and update_cpumask or update_nodemask.
> Scenario as follows:
> 1)A process fork a child process, the child process have
> inherited the parent process cpus_allowed,mems_allowed
> Before being added cset->tasks list.
> 2)Update_cpumask or update_nodemask change the parent's allowed
> to a new value, *but the child still is the old value.
> after being added cset->tasks list.
>
> Signed-off-by: Xianping Chai <chaixianping@...wei.com>
This name doesn't match your From: line :(
> Signed-off-by: Zhenghua Jia <jiazhenghua@...wei.com>
> Signed-off-by: Leeyou <leeyou.li@...wei.com>
> Signed-off-by: Lei Liu <liulei@...wei.com>
> ---
> kernel/cpuset.c | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read Documentation/stable_kernel_rules.txt
for how to do this properly.
</formletter>
Powered by blists - more mailing lists