lkml.org 
[lkml]   [2008]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] sched: fix another race when reading /proc/sched_debug
From
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


\
 
 \ /
  Last update: 2008-12-19 15:09    [from the cache]
©2003-2011 Jasper Spaans