]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] coredump_wait() cleanup
authorOleg Nesterov <oleg@tv-sign.ru>
Sun, 30 Oct 2005 23:02:47 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:23 +0000 (17:37 -0800)
commit2384f55f8aa520172c995965bd2f8a9740d53095
tree3f2f746529a760824d87f790418bacb94cc5a247
parent7407251a0e2ed099e4b12b742b635503e981507c
[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>
fs/exec.c