1:1 threading.
Terry Lambert
tlambert2 at mindspring.com
Fri Mar 28 21:11:47 PST 2003
Julian Elischer wrote:
> I'm happy to see the limit of (NKSEs !> NCPU) lifted for processes that
> are in some way identified as 1:1 mode processes..
> I don't want to lift it for KSE mode processes however.
>
> For system scope threads, I guess you just allocate a separate KSEGRP
> so it has somewhere to store pertinent info.
>
> that makes it rather simple
> system scope threads have a thread, a KSE and a KSEGRP
> process scope threads just use the existing KSEGRP.
>
> Everythiong should just "fall out correctly" by doing this..
Except that means for process scope threads, you don't get SMP
scalability, since the single KSEGRP binds them all to a single
CPU... right?
-- Terry
More information about the freebsd-arch
mailing list