* Re: [9fans] schedinit()
@ 2002-03-08 1:12 jmk
0 siblings, 0 replies; 5+ messages in thread
From: jmk @ 2002-03-08 1:12 UTC (permalink / raw)
To: 9fans
On Thu Mar 7 13:03:27 EST 2002, lucio@proxima.alt.za wrote:
> ...
> But having schedinit() called both in main() and in squidboy() -
> anyone care to explain squidboy() to me? - doesn't fit with my
> somewhat vague understanding of the kernel.
> ...
Rucker, Rudy: The Hacker and the Ants
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] schedinit()
2002-03-08 1:19 presotto
2002-03-08 9:38 ` Lucio De Re
@ 2002-03-08 16:23 ` Boyd Roberts
1 sibling, 0 replies; 5+ messages in thread
From: Boyd Roberts @ 2002-03-08 16:23 UTC (permalink / raw)
To: 9fans
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?
Sounds like the obvious way to do it -- no problem.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] schedinit()
2002-03-08 1:19 presotto
@ 2002-03-08 9:38 ` Lucio De Re
2002-03-08 16:23 ` Boyd Roberts
1 sibling, 0 replies; 5+ messages in thread
From: Lucio De Re @ 2002-03-08 9:38 UTC (permalink / raw)
To: 9fans
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] schedinit()
@ 2002-03-08 1:19 presotto
2002-03-08 9:38 ` Lucio De Re
2002-03-08 16:23 ` Boyd Roberts
0 siblings, 2 replies; 5+ messages in thread
From: presotto @ 2002-03-08 1:19 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
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?
[-- Attachment #2: Type: message/rfc822, Size: 1538 bytes --]
From: jmk@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] schedinit()
Date: Thu, 7 Mar 2002 20:12:32 -0500
Message-ID: <3260182dab3d9f3acd478fd3c48001ba@plan9.bell-labs.com>
On Thu Mar 7 13:03:27 EST 2002, lucio@proxima.alt.za wrote:
> ...
> But having schedinit() called both in main() and in squidboy() -
> anyone care to explain squidboy() to me? - doesn't fit with my
> somewhat vague understanding of the kernel.
> ...
Rucker, Rudy: The Hacker and the Ants
^ permalink raw reply [flat|nested] 5+ messages in thread
* [9fans] schedinit()
@ 2002-03-07 16:52 Lucio De Re
0 siblings, 0 replies; 5+ messages in thread
From: Lucio De Re @ 2002-03-07 16:52 UTC (permalink / raw)
To: 9fans mailing list
Just a quick one, while I track down a problem by other means:
is it reasonable for
/sys/src/9/port/proc.c:/^schedinit(
to be called twice on kernel startup? On a single CPU host?
Something happened between October 14, 2000 and March 27, 2001 that
causes the pc kernel not to start up properly. I've isolated it to
port/proc.c and port/portclock.c (to the best of my ability) and I
think it's speed related.
But having schedinit() called both in main() and in squidboy() -
anyone care to explain squidboy() to me? - doesn't fit with my
somewhat vague understanding of the kernel.
++L
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-03-08 16:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-08 1:12 [9fans] schedinit() jmk
-- strict thread matches above, loose matches on Subject: below --
2002-03-08 1:19 presotto
2002-03-08 9:38 ` Lucio De Re
2002-03-08 16:23 ` Boyd Roberts
2002-03-07 16:52 Lucio De Re
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).