diff options
author | Srivatsa Vaddagiri <vatsa@in.ibm.com> | 2007-05-08 00:27:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:05 -0700 |
commit | dd9037a26a1e6ebec9121b4681c414dc77189a90 (patch) | |
tree | cbce9dc3406943b0026a5de01bd64d42714a9413 /arch/xtensa | |
parent | e5f00f42f35e6f4699f105a3bd56874847cbf72f (diff) | |
download | op-kernel-dev-dd9037a26a1e6ebec9121b4681c414dc77189a90.zip op-kernel-dev-dd9037a26a1e6ebec9121b4681c414dc77189a90.tar.gz |
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 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions