Re: [PATCH] sched: fix another race when reading /proc/sched_debug

Paul Menage
2008-12-19T14:07:00Z

On Thu, Dec 18, 2008 at 8:37 PM, Balbir Singh <balbir@linux.vnet.ibm.com> wrote:
>>
>> Can't we detect a dead task-group and skip those instead of adding this
>> global lock?
>>
>
> Now we can, there is a css_is_removed() function.
>

With the patch that makes cgroup_path() RCU-safe, you shouldn't need
to do any additional skipping or locking.

Paul