Re: deadlock in crashed multithreaded job

Manfred Spraul (manfred@colorfullife.com)
Mon, 01 Oct 2001 21:24:20 +0200


> The symptoms: running the tests (make check) sometimes ends up
> with hanging processes.

Does it _only_ hang during coredumping, or also during normal usage?

Could you remove
down_read(&mmap_sem);
binfmt->coredump();
up_read(&mmap_sem);
from fs/exec.c and rerun your tests?

The hang during coredumping is known, there are 2 fixes [I have one, not
yet released, Andrea wrote one, IIRC included in his -aa kernels].

Up to 2.4.10 there was a second hang with /proc/*/stats, that one is
fixed in 2.4.10.

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