Re: Possible bug in scheduler.

2001-10-19 Thread John Baldwin
On 19-Oct-01 Alex Levine wrote: > John Baldwin wrote: > >>On 18-Oct-01 Alexander Langer wrote: >> >>>Thus spake Alex Levine ([EMAIL PROTECTED]): >>> resetpriority() calls maybe_resched() at the end after updating p_usrpri based on changed p_estcpu. maybe_resched() uses curpriority_c

Re: Possible bug in scheduler.

2001-10-18 Thread Alex Levine
John Baldwin wrote: >On 18-Oct-01 Alexander Langer wrote: > >>Thus spake Alex Levine ([EMAIL PROTECTED]): >> >>>resetpriority() calls maybe_resched() at the end after updating p_usrpri >>>based on changed p_estcpu. >>>maybe_resched() uses curpriority_cmp to compare priorities of current >>>and

Re: Possible bug in scheduler.

2001-10-18 Thread John Baldwin
On 18-Oct-01 Alexander Langer wrote: > Thus spake Alex Levine ([EMAIL PROTECTED]): > >> resetpriority() calls maybe_resched() at the end after updating p_usrpri >> based on changed p_estcpu. >> maybe_resched() uses curpriority_cmp to compare priorities of current >> and given process and this

Re: Possible bug in scheduler.

2001-10-18 Thread Alexander Langer
Thus spake Alex Levine ([EMAIL PROTECTED]): > resetpriority() calls maybe_resched() at the end after updating p_usrpri > based on changed p_estcpu. > maybe_resched() uses curpriority_cmp to compare priorities of current > and given process and this function ( curpriority_cmp ) uses p_priority

Possible bug in scheduler.

2001-10-18 Thread Alex Levine
FreeBSD 4-stable. Suspect the same in FreeBSD-current. resetpriority() calls maybe_resched() at the end after updating p_usrpri based on changed p_estcpu. maybe_resched() uses curpriority_cmp to compare priorities of current and given process and this function ( curpriority_cmp ) uses p_priorit