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    [W:0.022 / U:59.256 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site