commit | 2384f55f8aa520172c995965bd2f8a9740d53095 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Sun Oct 30 15:02:47 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Oct 30 17:37:23 2005 -0800 |
tree | 3f2f746529a760824d87f790418bacb94cc5a247 | |
parent | 7407251a0e2ed099e4b12b742b635503e981507c [diff] |
[PATCH] coredump_wait() cleanup This patch deletes pointless code from coredump_wait(). 1. It does useless mm->core_waiters inc/dec under mm->mmap_sem, but any changes to ->core_waiters have no effect until we drop ->mmap_sem. 2. It calls yield() for absolutely unknown reason. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>