Scheduler patch 03 available for testing

dunker dunker at maiden.localhost.nl
Sat Jul 24 09:37:18 PDT 2004



On Fri, 23 Jul 2004, Matthew Dillon wrote:

>     Ok, a more refined scheduler patch is now available for testing:
>
> 	http://leaf.dragonflybsd.org/~dillon/sched03.patch
>
>     It fixes the ^Z bug that was in 02 and I've done some moderate testing
>     on both UP and MP systems.  Apart from fixing the bug I bumped up the
>     p_interactive field's effect on scheduling a little.
>
> 					    -Matt

Matt, i cvsupped to 1.1 and applied your patch in /usr/src/sys, seemd to
go well, but i got the following upon trying to compile the kernel:

. ./../kern/kern_switch.c: In function `setrunqueue':
. ./../kern/kern_switch.c:277: `usched_debug' undeclared (first use in this
function)
. ./../kern/kern_switch.c:277: (Each undeclared identifier is reported only
once
. ./../kern/kern_switch.c:277: for each function it appears in.)
. ./../kern/kern_switch.c: In function `release_curproc':
. ./../kern/kern_switch.c:486: `usched_debug' undeclared (first use in this
function)
. ./../kern/kern_switch.c:488: `usched_count' undeclared (first use in this
function)
. ./../kern/kern_switch.c: In function `select_curproc':
. ./../kern/kern_switch.c:556: `usched_debug' undeclared (first use in this
function)
. ./../kern/kern_switch.c: In function `acquire_curproc':
. ./../kern/kern_switch.c:600: `usched_debug' undeclared (first use in this
function)
. ./../kern/kern_switch.c: In function `sched_thread':
. ./../kern/kern_switch.c:682: `usched_debug' undeclared (first use in this
function)
*** Error code 1

Stop in /usr/src/sys/compile/1STONESMP.

this is on a box with HTT and SMP kernel.

grtx,

Bart






More information about the Kernel mailing list