[lkml]   [2003]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PID of multi-threaded core's file name is wrong in 2.5.59
On Tue, 2003-01-28 at 12:39, Daniel Jacobowitz wrote:

> That wasn't my point. All of the other threads have already terminated
> without dumping core at tis point; I don't think it's possible for two
> threads of a CLONE_THREAD application to both dump core. See
> fs/exec.c:coredump_wait.
> Also, once one thread gets into do_coredump it clears mm->dumpable;
> nothing else will dump core from that MM anyway.

Are you telling me only one thread per thread group can coredump,
period? So if two of them segfault (say concurrently on two different
processors) only one will win the race to dump and the others will
simply exit?

If so, I did not know that. You are right, then.

> I think using ->tgid is a good idea.

I think it is, too - even if what I said is true - as a format option.

Anyhow, I stand corrected.

Robert Love

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.059 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site