Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190537
b: refs/heads/master
c: 8b46f88
h: refs/heads/master
i:
  190535: f7fdb73
v: v3
  • Loading branch information
Paul E. McKenney authored and Ingo Molnar committed Apr 30, 2010
1 parent 09dff43 commit fc915b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b08ca52f5942c21564bbb90ccfb61053f2c26a1
refs/heads/master: 8b46f880841aac821af8efa6581bb0e46b8b9845
5 changes: 4 additions & 1 deletion trunk/kernel/cgroup_freezer.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,12 @@ static void freezer_fork(struct cgroup_subsys *ss, struct task_struct *task)
* No lock is needed, since the task isn't on tasklist yet,
* so it can't be moved to another cgroup, which means the
* freezer won't be removed and will be valid during this
* function call.
* function call. Nevertheless, apply RCU read-side critical
* section to suppress RCU lockdep false positives.
*/
rcu_read_lock();
freezer = task_freezer(task);
rcu_read_unlock();

/*
* The root cgroup is non-freezable, so we can skip the
Expand Down

0 comments on commit fc915b9

Please sign in to comment.