From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans@cse.psu.edu Subject: Re: [9fans] schedinit() Message-ID: <20020308113835.I21445@cackle.proxima.alt.za> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from presotto@plan9.bell-labs.com on Thu, Mar 07, 2002 at 08:19:40PM -0500 Date: Fri, 8 Mar 2002 11:38:38 +0200 Topicbox-Message-UUID: 618b35ba-eaca-11e9-9e20-41e7f4b1d025 On Thu, Mar 07, 2002 at 08:19:40PM -0500, presotto@plan9.bell-labs.com wrote: > > There's a scheduler running on each processor. Each one has > to get inited. They all get jobs from the same stack of > run queues. What's the problem? I misunderstood my debugging output for schedinit() and thought it was being called twice whereas both paths through it were exercised before the machine stalled (remember north_'s fix?) The problem is that the machine hangs after the second invocation of sched() (port/proc.c). I have no idea how far it goes into the second invocation, I think I could work my way throught the first to get a better grip on what's going on. I'll also follow up jmk's recommended reading, but probably not right now :-) ++L