Re: HEADSUP: Native preemption added to the kernel scheduler

From: Thomas T. Veldhouse <veldy_at_veldy.net>
Date: Sat, 03 Jul 2004 00:24:18 -0500
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



Received on Sat Jul 03 2004 - 03:24:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC