Thread priorities

Julian Elischer julian at freebsd.org
Tue Oct 5 23:00:05 UTC 2010


  On 10/5/10 2:19 PM, Eknath Venkataramani wrote:
> In kern_switch.c,
>
> It is said that, Free threads are 'preassigned' to the KSEs. and that the
> KSEs derive their priority from threads and are put on the run queue.
> 1. Where do the threads receive their priorities from?
from the process they are assigned to.
> 2. Does it recieve the priority from the KSEG?
well, it got some  modification of it's priority due to KSEG behaviour.
(or at least that was the plan)

this must be very old code because ksegs were removed some time ago.
please



More information about the freebsd-hackers mailing list