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

From: Rik van Riel (
Date: Wed Sep 18 2002 - 11:46:38 EST

On Wed, 18 Sep 2002, Linus Torvalds wrote:

> Give me one reason for why these two added lines aren't better than all
> the complexity we've discussed?

On second thought ... yes there's a reason. Suppose you have
100000 threads on your box already, how long is it going to
take to walk them all to figure out the pid distribution ?

And are you willing to walk 100000 threads for every 16 pids allocated ?


Spamtrap of the month:

- 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