cvs commit: src/sys/kern sched_ule.c
John Baldwin
jhb at FreeBSD.org
Fri Apr 18 07:43:46 PDT 2003
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.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
More information about the cvs-src
mailing list