Messages in this thread | | | Date | Mon, 24 Feb 2003 13:41:08 +0100 (CET) | From | Ingo Molnar <> | Subject | Re: [patch] procfs/procps threading performance speedup, 2.5.62 |
| |
On Mon, 24 Feb 2003, Albert D. Cahalan wrote:
> It's fine to mix up thread order, but bad to interleave the threads of > unrelated processes.
this is very simple to do, and does not necessiate thread-directories. There's a PID and TGid field in /proc/PID/status. Just link the task to the TGid-task, and you have instant access to all threads per TGid. In the 'groupped output' case you have to scan & access all threads anyway. Ok?
(but this is way offtopic. The changes we posted address the normal case of process-listing. (no -m option.) If there are tons of threads around then any discussed variant of 'ps -m' will be slow.)
Ingo
- 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/
| |