Re: [PATCH] pid_max hang again...

From: Andrew Morton (akpm@digeo.com)
Date: Wed Sep 11 2002 - 20:54:47 EST


Andries Brouwer wrote:
>
> ...
> Again. We have 2^30 = 10^9 pids. In reality there are fewer than 10^4
> processes. So once in 10^5 pid allocations do we make a scan over
> these 10^4 processes,

Inside tasklist_lock? That's pretty bad from a latency point of
view. A significant number of users would take the slower common
case to avoid this.
-
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/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:27 EST