Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1457026
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Cgroup:Fix race between fork and update cpuset mask |
| Date | 2016-08-05 13:00 +0200 |
| Message-ID | <s2L17-6pn-19@gated-at.bofh.it> (permalink) |
| References | <s2pjY-8pF-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Aug 04, 2016 at 07:23:03PM +0800, chaixianping@huawei.com wrote: > From: chaixianping <chaixianping@huawei.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@huawei.com> This name doesn't match your From: line :( > Signed-off-by: Zhenghua Jia <jiazhenghua@huawei.com> > Signed-off-by: Leeyou <leeyou.li@huawei.com> > Signed-off-by: Lei Liu <liulei@huawei.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>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] Cgroup:Fix race between fork and update cpuset mask <chaixianping@huawei.com> - 2016-08-04 13:50 +0200 Re: [PATCH] Cgroup:Fix race between fork and update cpuset mask Greg KH <gregkh@linuxfoundation.org> - 2016-08-05 13:00 +0200
csiph-web