lkml.org 
[lkml]   [2008]   [Dec]   [16]   [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 Sun, Dec 14, 2008 at 5:50 PM, KAMEZAWA Hiroyuki
    <kamezawa.hiroyu@jp.fujitsu.com> wrote:
    >
    > at creation:
    > - cpu_cgroup_populate() should record "tg" that "this cgroup has valid dentry"
    > at deletion

    Wouldn't moving the call to cgroup_create_dir() to before doing
    subsystem initialization fix this problem more straightforwardly? Then
    by the time the cpu subsytem create() callback is called, dentry will
    already be valid.

    Paul


    \
     
     \ /
      Last update: 2008-12-16 10:27    [W:4.924 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site