commit | e4901f92a8dbe843e76651a50f7a2a6dd3d53474 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Fri Jul 25 01:47:31 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jul 25 10:53:38 2008 -0700 |
tree | 4cfd5edd17fcf1fe5e4372611c561928a99107d0 | |
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>