Re: Anyone working on multi-threaded core files for 2.4 ?

From: I Lee Hetherington (ilh@sls.lcs.mit.edu)
Date: Fri Sep 29 2000 - 14:24:32 EST


Alexander Viro wrote:

> How about preventing the rest of threads from doing mmap()/munmap()/etc.
> while the dump is taken? How about thread A coredumping, half of the image
> being already written and thread B (nowhere near the kernel mode, mind
> you) changing the data both in the area that is already dumped and area
> the still isn't? After that you can look at the dump and notice absolutely
> corrupted data structures - very effective in misdirecting your attempts
> to figure out what went wrong.

Couldn't all threads be stopped before coredumping begins?

--Lee Hetherington

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



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:25 EST