Re: [patch] lockless, scalable get_pid(), for_each_process() elimination, 2.5.35-BK

From: Ingo Molnar (
Date: Wed Sep 18 2002 - 13:14:02 EST

On Wed, 18 Sep 2002, Cort Dougan wrote:

> You're talking about a different problem there. Creating a thread
> within a realistic time-limit for a sensible number of threads is not a
> bad idea. Doing it for a huge number of threads may not be something
> that has to be done right away. Don't screw up the low to middle-end -
> that trend is getting frightening in Linux.

sorry, but you must have missed the patch i posted yesterday. It can be
done, it's fast, it does not hurt *any* benchmark and it actually has a
worst-case cache-cold latency of 10 microseconds, even if 1 million
threads are started up already.

and besides it significantly speeds up some other areas as well, like
session management in shells, group-signal delivery performance, tty
handling and more.


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

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:23 EST