Re: [patch] lockless, scalable get_pid(), for_each_process()

Ingo Molnar (mingo@elte.hu)
Wed, 18 Sep 2002 19:38:18 +0200 (CEST)


On Wed, 18 Sep 2002, Rik van Riel wrote:

> Agreed, you're right there. On the other hand, walking the threads
> _once_ will take 1.5 minutes on a 500 MHz PII (according to Ingo's
> measurements).
>
> That's about 18 times the timeout for the NMI oopser and will cause
> people real trouble.

we could fix it to 'just' lock up but still enable interrupts so that the
NMI oopser does not trigger. (we'd also have to be careful to never
write-lock the tasklist lock with IRQs disabled.) It's still a pretty lame
behavior from an OS me thinks ...

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/