diff options
author | Srivatsa Vaddagiri <vatsa@in.ibm.com> | 2007-05-08 09:27:25 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 20:15:05 +0200 |
commit | dd9037a26a1e6ebec9121b4681c414dc77189a90 (patch) | |
tree | cbce9dc3406943b0026a5de01bd64d42714a9413 /include | |
parent | make remove_inode_dquot_ref() static (diff) | |
download | linux-dd9037a26a1e6ebec9121b4681c414dc77189a90.tar.xz linux-dd9037a26a1e6ebec9121b4681c414dc77189a90.zip |
Fix race between attach_task and cpuset_exit
Currently cpuset_exit() changes the exiting task's ->cpuset pointer w/o
taking task_lock(). This can lead to ugly races between attach_task and
cpuset_exit. Details of the races are described at
http://lkml.org/lkml/2007/3/24/132.
Patch below closes those races.
Signed-off-by: Srivatsa Vaddagiri <vatsa@in.ibm.com>
Cc: Paul Jackson <pj@sgi.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions