NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/39349 (cpu affinity can make lwps non-schedulable)



> State-Changed-From-To: open->analyzed
> State-Changed-By: rmind%NetBSD.org@localhost
> State-Changed-When: Tue, 30 Sep 2008 16:32:24 +0000
> State-Changed-Why:
> Problem is clear, quick fix is commited.  Decision what to do with already
> bound threads should be made to make a full fix.

Jason Thorpe <thorpej%shagadelic.org@localhost> wrote:
> ...
> 
> Probably need to prevent binding to CPUs that have been taking  
> offline.  But what to do about CPUs that already have bound threads  
> (which is all of them, of course).  Perhaps we need to make note when  
> an LWP has taken a lock?
> 
> ...

Perhaps disallow (return EBUSY) changing of CPU state to offline, while there
are bound threads? What do you think?

-- 
Best regards,
Mindaugas
www.NetBSD.org


Home | Main Index | Thread Index | Old Index