From: Oleg Nesterov Date: Fri, 25 Jul 2008 08:47:45 +0000 (-0700) Subject: coredump: elf_core_dump: use core_state->dumper list X-Git-Tag: v2.6.27-rc1~338 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83914441f94c6f2cd468ca97365f6c34f418706e;p=pandora-kernel.git coredump: elf_core_dump: use core_state->dumper list Kill the nasty rcu_read_lock() + do_each_thread() loop, use the list encoded in mm->core_state instead, s/GFP_ATOMIC/GFP_KERNEL/. This patch allows futher cleanups in binfmt_elf.c, in particular we can kill the parallel info->threads list. Signed-off-by: Oleg Nesterov Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed