diff options
| author | Dinakar Guniguntala <dino@in.ibm.com> | 2004-11-09 17:06:41 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-09 17:06:41 -0800 |
| commit | 607acf00deb7f44bb536300e35a8a2995b85509c (patch) | |
| tree | ddfccd5379f0f9231241c63023f1ffcaff6d3697 /include/linux | |
| parent | d9621fa0a714dd039daaf171cdd57cde412d7cbf (diff) | |
[PATCH] Fix do_wait race
Only set the flag in the cases when the exit state is not either
TASK_DEAD or TASK_ZOMBIE.
(TASK_DEAD or TASK_ZOMBIE will either race or we'll return the
information, so no need to note them).
I confirmed that this fixes the problem and I also ran some LTP tests
Signed-off-by: Dinakar Guniguntala <dino@in.ibm.com>
Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
