Messages in this thread |  | | | Date | Sat, 19 Feb 2011 17:51:35 -0800 (PST) | | From | David Rientjes <> | | Subject | Re: [PATCH 4/4] cpuset: Hold callback_mutex in cpuset_clone() |
| |
On Thu, 17 Feb 2011, Li Zefan wrote:
> Chaning cpuset->mems/cpuset->cpus should be protected under > callback_mutex. > > cpuset_clone() doesn't follow this rule. It's ok because it's > called when creating and initializing a cgroup, but we'd better > hold the lock to avoid subtil break in the future. > > Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
|  |