[PATCH 0/5] kill the racy EXIT_ZOMBIE->EXIT_DEAD->EXIT_ZOMBIE transition

From: Oleg Nesterov
Date: Thu Feb 20 2014 - 12:38:52 EST


Hello.

1/7 cc's stable, and imo it is v3.14 material. This hack is reverted
by the next patch.

Many thanks to Michal and Jan for investigating.


And it seems that we need more (unrelated) changes in do_wait(), will
try to do this tomorrow.

Tejun, unless I missed something WSTOPPED logic is broken if a process
has a zombie/ptraced leader, "A zombie ptracee is only visible to its
ptracer" is wrong in this case. Plus perhaps some cleanups make sense.

Oleg.

fs/proc/array.c | 4 +-
include/linux/sched.h | 5 ++-
kernel/exit.c | 51 +++++++++++++++++++++++-------------------------
3 files changed, 29 insertions(+), 31 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/