Messages in this thread | | | Date | Mon, 3 Mar 2014 16:32:46 +0800 | From | Li Zefan <> | Subject | Re: [PATCH] cpuset: Add missing rcu read locks |
| |
On 2014/2/27 22:20, Sasha Levin wrote: > We call task_cs() which ends up going into cgroup code without having rcu > read lock. Fix it by grabbing the lock before retrival of task_cs() and usage > of the result. >
Thanks for the patch.
Fengguang already reported it, and I've made a patch for it, but I was fixing two bugs for 3.14 and then waiting for them to be applied.
There're other places that rcu_read_lock() should be used, and we need to remove task_lock().
| |