HEADSUP: Native preemption added to the kernel scheduler

Thomas T. Veldhouse veldy at veldy.net
Fri Jul 2 22:24:27 PDT 2004


John Baldwin wrote:

>In theory this is a big NOP except for some small optimizations in the form of 
>avoiding a few context switches and avoiding some run queue operations.  
>Several people have tested this code but there may be some remaining 
>adventures.  Note that this adds a printf during dmesg for architectures that 
>do not support preemption about preemption being disabled and degrading 
>performance (mostly via increased latency).  Preemption is enabled by 
>defining PREEMPTION in <machine/param.h> and architecture porters are 
>encouraged to get preemption working on their architecture.
>
>  
>

The GENERIC kernel is failing to build now (12AM 7-03-2004) ... 
complaining about wrong number of arguments in the following file:

src/sys/kern/sched_ule.c

Unfortunately, I did not get the function details before rebooting my machine into windows.

Tom Veldhouse


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20040703/c834c345/signature.bin


More information about the cvs-all mailing list