Searched hist:121107 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.3-release/sys/kern/
H A Dsched_ule.cdiff 121107 Wed Oct 15 07:47:06 MDT 2003 jeff - If our user_pri doesn't match our actual priority our priority has been
elevated either due to priority propagation or because we're in the
kernel in either case, put us on the current queue so that we dont
stop others from using important resources. At some point the priority
elevations from sleeping in the kernel should go away.
- Remove an optimization in sched_userret(). Before we would only set
NEEDRESCHED if there was something of a higher priority available. This
is a trivial optimization and it breaks priority propagation because it
doesn't take threads which we may be blocking into account. Notice that
the thread which is blocking others gets up to one tick of cpu time before
we honor this NEEDRESCHED in sched_clock().

Completed in 105 milliseconds