> >From what else I've read, it seems that the new threading model in 2.5/2.6 is
> changing to a more POSIX friendly model, which will effect this answer, but
> we're not running 2.5 and really can't force such an upgrade -- hell, right
> now we're having problems getting a switch from 2.2 pushed through.
Yep, you should get what you want with 2.5 + NPTL. We need to add a few
bits, though, to make it complete.
> Thanks _very_ much in advance. I'd be tickled pink if the answer is something
> like "just look at the foo flag in ps", or "upgrade to version 188.8.131.52 of
> procps and do xyzzy", but my intuition tells me otherwise.
and "upgrade to version 2.0.8 or later of procps" :)
It is just a heuristic, though. A hack in fact. We look at a process's
children and compare RSS, VM size, and the process image they are
running. If they are the same, we label them threads.
It is the default behavior. Flag `-m' turns it off.
See thread_group() and flag_threads().
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/