sched_userret priority adjustment patch for sched_4bsd

Stephan Uphoff ups at tree.com
Wed Sep 29 07:39:01 PDT 2004


On Tue, 2004-09-28 at 10:56, John Baldwin wrote:
> If A has a priority boost from tsleep() this is intentional, however.  The 
> priroity boosts from tsleep() are _supposed_ to do this so as to favor 
> interactive tasks.  Note that if you add the code to always raise td_priority 
> while in the kernel as below you may end up defeating this well-known feature 
> of the 4BSD scheduler.

OK - you and Julian convinced me that this is a feature that I should
have known about. Without test cases or interactivity benchmarks
discussions if this is still a desirable feature are probably useless.
I will revisit the this once test cases materialize or I have time to
think about a benchmark (Not likely anytime soon).

	Stephan 




More information about the freebsd-arch mailing list