Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365566
b: refs/heads/master
c: cfb5966
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Tejun Heo committed Mar 12, 2013
1 parent f5d9e38 commit 0baac16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff794dea52eaaa09017efea688a1d7f92ab0818e
refs/heads/master: cfb5966bef85412dab9c93553db10b3e99ac32e8
2 changes: 2 additions & 0 deletions trunk/kernel/cpuset.c
Original file line number Diff line number Diff line change
Expand Up @@ -2599,6 +2599,7 @@ void cpuset_print_task_mems_allowed(struct task_struct *tsk)

struct cgroup *cgrp = task_cs(tsk)->css.cgroup;

rcu_read_lock();
spin_lock(&cpuset_buffer_lock);

nodelist_scnprintf(cpuset_nodelist, CPUSET_NODELIST_LEN,
Expand All @@ -2607,6 +2608,7 @@ void cpuset_print_task_mems_allowed(struct task_struct *tsk)
tsk->comm, cgroup_name(cgrp), cpuset_nodelist);

spin_unlock(&cpuset_buffer_lock);
rcu_read_unlock();
}

/*
Expand Down

0 comments on commit 0baac16

Please sign in to comment.