Re: [PATCH] MAXCPU alterable in kernel config - needs testers

From: Kip Macy <kmacy_at_fsmware.com>
Date: Sun, 8 Oct 2006 15:59:59 -0700 (PDT)
>
> How would you see a sched_lock decomposition (and, if it is possible,
> how many locks it could be decomposed in?)

Rather than having a per thread lock, Solaris uses the lock for the
current container that a thread is associated with (cpu, run queue,
sleep queue, etc.) to serialize thread updates. I think this is probably
the best approach. A per proess spin lock would not scale well for large
multi-threaded apps.

				-Kip
Received on Sun Oct 08 2006 - 21:00:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:01 UTC