diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2008-07-25 10:47:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 19:53:40 +0200 |
commit | a94e2d408eaedbd85aae259621d46fafc10479a2 (patch) | |
tree | d853f7b2e183875c6ad90fb6ab38e084b037d043 /include | |
parent | coredump: elf_fdpic_core_dump: use core_state->dumper list (diff) | |
download | linux-a94e2d408eaedbd85aae259621d46fafc10479a2.tar.xz linux-a94e2d408eaedbd85aae259621d46fafc10479a2.zip |
coredump: kill mm->core_done
Now that we have core_state->dumper list we can use it to wake up the
sub-threads waiting for the coredump completion.
This uglifies the code and .text grows by 47 bytes, but otoh mm_struct
lessens by sizeof(struct completion). Also, with this change we can
decouple exit_mm() from the coredumping code.
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mm_types.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 4d0d0abc79fe..746f975b58ef 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -229,9 +229,7 @@ struct mm_struct { unsigned long flags; /* Must use atomic bitops to access the bits */ - /* coredumping support */ - struct core_state *core_state; - struct completion core_done; + struct core_state *core_state; /* coredumping support */ /* aio bits */ rwlock_t ioctx_list_lock; /* aio lock */ |