]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/sched_debug.c
V4L/DVB: ir-core: fix some confusing comments
[net-next-2.6.git] / kernel / sched_debug.c
index 9b49db1440372bd6227e7e4258a0a6d78903e230..19be00ba612372e4fff50316cd661431c58481ff 100644 (file)
@@ -114,7 +114,9 @@ print_task(struct seq_file *m, struct rq *rq, struct task_struct *p)
        {
                char path[64];
 
+               rcu_read_lock();
                cgroup_path(task_group(p)->css.cgroup, path, sizeof(path));
+               rcu_read_unlock();
                SEQ_printf(m, " %s", path);
        }
 #endif