From: Oleg Nesterov Date: Fri, 25 Jul 2008 08:47:31 +0000 (-0700) Subject: coredump: zap_threads: comments && use while_each_thread() X-Git-Tag: v2.6.27-rc1~354 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4901f92a8dbe843e76651a50f7a2a6dd3d53474;p=pandora-kernel.git 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 Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed