[PATCH] Multi-threaded core dumps for 2.4.18 non-O(1) kernels.

From: mgross (mgross@unix-os.sc.intel.com)
Date: Fri Jun 14 2002 - 13:40:40 EST


The following patch is a back port of the 2.5.18 tcore patch I posted last
week.

It applies cleanly to the 2.4.18 base tree.

It has some warnings and one simple regection when applied to the 2.4.18-ia64
tree due to a patch collision with the ia64 patch. I have a ia64 version of
this patch available, upon request, which will apply cleanly to the ia64
kernel.

This patch has been tested on SMP and UP i386 architectures and works very
well. The ia64 SMP version has also been tested and works very well.

To use this patch you will need to strip the objects from the libpthread
module loaded by GDB at post mortem debug time.
('strip /lib/libpthread-0.9.so for my system', YMMV)

I would like to see this feature added to the linux kernel. Support for
multi-threaded core dumps has been in Solaris for a LONG time now, and its
silly for it to not exist in Linux. ISV's need this type of support from the kernel.

Please apply this patch. Its a good thing.

--mgross



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



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:32 EST