Subject: Re: CVS commit: [vmlocking] src/sys
To: None <>
From: Mindaugas R. <>
List: source-changes
Date: 11/04/2007 21:44:07
> Module Name:	src
> Committed By:	ad
> Date:		Thu Nov  1 21:58:29 UTC 2007

> - For SCHED_4BSD, make p_estcpu per thread (l_estcpu). Rework how the
>   dynamic priority level is calculated - it's much better behaved now.

- How this would deal with ps(1) and top(1)? There are still dependencies to
  the estcpu, and SCHED_M2 does not calculate it. I do not know what would be
  appropriate to do here.
- If l_estcpu is only for SCHED_4BSD, it would be good to keep the
  abstraction, and move it into the l_sched_info.

> - Keep track of scheduling class (OTHER, FIFO, RR) in struct lwp, and use
>   this to make decisions in a few places where we previously tested for a
>   kernel thread.

Why l_policy was not used/renamed/removed?

Best regards,