Re: [PATCH 4/4] cpuset: Hold callback_mutex in cpuset_clone()
From: David Rientjes <rientjes@google.com>
Date: 2011-02-20 01:51:42
Also in:
lkml
From: David Rientjes <rientjes@google.com>
Date: 2011-02-20 01:51:42
Also in:
lkml
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 <redacted>
Acked-by: David Rientjes <rientjes@google.com> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>