coredump: turn core_state->nr_threads into atomic_t
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 25 Jul 2008 08:47:42 +0000 (01:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:39 +0000 (10:53 -0700)
commitc5f1cc8c1828486a61ab3e575da6e2c62b34d399
tree9cc88e7d1dae063482e1e9117ded747578cbd7ad
parent8cd9c249128a59e8e833d454a784b0cbd338d468
coredump: turn core_state->nr_threads into atomic_t

Turn core_state->nr_threads into atomic_t and kill now unneeded
down_write(&mm->mmap_sem) in exit_mm().

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c
include/linux/mm_types.h
kernel/exit.c