diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-08 01:12:54 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-08 01:12:54 -0800 |
| commit | 56b4c820f228c92c74335a2bfb8b1476fd203164 (patch) | |
| tree | 1cfb251a5ce52e00d1b9c9482e45bfbd3a681fe2 /include/linux | |
| parent | 73d7a5fae092095759362231ea3f0e78abe1c47f (diff) | |
wait_task_stopped() must not just return 0 when it has
released the tasklist_lock.
Since it released the lock, the process lists may not
be valid any more, and we must repeat the loop rather than
continue with the next parent.
Use -EAGAIN to show this condition (separate from the
normal -EFAULT that may happen if rusage information could
not be copied to user space).
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
