[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/39349: cpu affinity can make lwps non-schedulable
On Aug 14, 2008, at 2:00 AM, yamt%mwd.biglobe.ne.jp@localhost wrote:
Synopsis: cpu affinity can make lwps non-schedulable
Arrival-Date: Thu Aug 14 09:00:00 +0000 2008
Originator: YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost>
Release: NetBSD 4.99.72
# cpuctl offline 0
# cpuctl identify 0
"cpuctl identify" binds itself to cpu0, which is offline.
thus it will never be scheduled. if it has a lock (eg. p->p_lock),
the entire system will hang soon.
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?
Main Index |
Thread Index |