Re: [PATCH] kernel 2.4.19 & 2.5.38 - coredump sysctl

Andi Kleen (ak@suse.de)
21 Sep 2002 01:12:43 +0200


Andrew Morton <akpm@digeo.com> writes:

> True, but it's all more code and I don't believe that it adds
> much value. It means that people need to run off and find

One useful feature of it would be that you can get core dumps for
each thread by including the pid (or tid later with newer threading libraries)
Currently threads when core dumping overwrite each others cores so you lose
the registers of all but one.

Doing multithreaded coredump correctly is a lot more code than this.

Another useful application of an arbitary path name would be dumping to a
named pipe and having a dr.watson that logs the backtrace to the system log
(of course this has interesting deadlock possibilities when you're not
careful...)

I would find the feature useful.

-Andi

-
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/