diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2008-07-25 01:47:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:38 -0700 |
commit | e4901f92a8dbe843e76651a50f7a2a6dd3d53474 (patch) | |
tree | 4cfd5edd17fcf1fe5e4372611c561928a99107d0 /kernel | |
parent | 2b201a9eddf509e8e935b45e573648e36f4b623f (diff) |
coredump: zap_threads: comments && use while_each_thread()
No changes in fs/exec.o
The for_each_process() loop in zap_threads() is very subtle, it is not
clear why we don't race with fork/exit/exec. Add the fat comment.
Also, change the code to use while_each_thread().
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions