From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4C14EA90.8020108@bouyapop.org> References: <8ebe5bdc32ec6d9b7efc27b0b0b3697c@hamnavoe.com> <4C14EA90.8020108@bouyapop.org> Date: Sun, 13 Jun 2010 09:20:27 -0700 Message-ID: From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] 9vx, kproc and *double sleep* Topicbox-Message-UUID: 3238d5e0-ead6-11e9-9d60-3106f5b1d025 On Sun, Jun 13, 2010 at 7:26 AM, Philippe Anel wrote: > In fact you're right, and this shows us this would only happens to 9vx. > Indeed, the proc is a kproc and thus is not scheduled by the 9vx/a/proc.c > scheduler, > but by the one in 9vx/sched.c ... where dequeueproc() is not called and > where p->mach > is not checked. So is changing 9vx/sched.c to do these two steps the real fix? ron