coredump: turn mm->core_startup_done into the pointer to struct core_state
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 25 Jul 2008 08:47:41 +0000 (01:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:39 +0000 (10:53 -0700)
commit32ecb1f26dd50eeaac4e3f4dea4541c97848e459
tree4c2f3b6af9ff6babf2f395432de8e870508f2ec3
parent24d5288f06ed8b3a368eba967d587cdb012dfdf7
coredump: turn mm->core_startup_done into the pointer to struct core_state

mm->core_startup_done points to "struct completion startup_done" allocated
on the coredump_wait()'s stack.  Introduce the new structure, core_state,
which holds this "struct completion".  This way we can add more info
visible to the threads participating in coredump without enlarging
mm_struct.

No changes in affected .o files.

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