Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 13:13:32 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        cvs-all@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern sched_ule.c
Message-ID:  <XFMail.20030418131332.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0304180930030.54473-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 18-Apr-2003 Julian Elischer wrote:
> 
> 
> On Fri, 18 Apr 2003, John Baldwin wrote:
> 
>> 
>> On 18-Apr-2003 Jeff Roberson wrote:
>> > jeff        2003/04/17 22:24:10 PDT
>> > 
>> >   FreeBSD src repository
>> > 
>> >   Modified files:
>> >     sys/kern             sched_ule.c 
>> >   Log:
>> >    - Set the ke_cpu field in sched_add() for interrupt and realtime threads
>> >      since they are going on the current cpu and not their previously assigned
>> >      cpu.
>> >    - sched_runnable() should only return true in the SMP case if the other
>> >      processor has more than one thread that is runnable.  We can not steal
>> >      curthread.
>> >    - Change kseq_print() to accept the cpuid instead of a kseq pointer.  This
>> >      makes use of this function in ddb much easier.
>> 
>> It would be easy to add a 'show kseq <cpu number>' function to DDB if
>> you wanted to.
> 
> if you add a sched_xxx_ddb entrypoint
> you could print scheduler dependent info.

Maybe as part of 'ps' or something.  For things that are entirely
scheduler dependent such as displaying the run queues, that can be
self-contained within the scheduler.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030418131332.jhb>