Date: Tue, 05 Oct 2010 15:40:35 -0700 From: Julian Elischer <julian@freebsd.org> To: Eknath Venkataramani <eknath.iyer@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Thread priorities Message-ID: <4CABA963.40709@freebsd.org> In-Reply-To: <AANLkTimykKEYkeRK%2BexcWxZUjxvkK2bQ4LtmtU2y3_h4@mail.gmail.com> References: <AANLkTimykKEYkeRK%2BexcWxZUjxvkK2bQ4LtmtU2y3_h4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CABA963.40709>