> I think this isn't an issue; multi-threaded core dumps are done by
> the core_waiter synchronization, so all other threads will have exited
> before the first thread to crash actually writes out its core.
I think the problem is the filenames need to not overwrite each other -
not actual synchronization in the kernel (which, as you point out, is
correct).
If we name the coredumps based on ->tgid, then all threads will dump to
the same file. If we use ->pid, each thread will use its unique PID as
its filename.
Robert Love
-
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/