Re: Regression seen for patch "sched:dont decrease idle sleep avg"

Mike Galbraith
2006-05-18T05:43:42Z

On Thu, 2006-05-18 at 11:38 +1000, Con Kolivas wrote:
> I just want to formalise the relationship between the ceiling, nice
> value and INTERACTIVE_SLEEP and make the comment clear enough to be
> understood.

Oh yeah, that reminded me...

INTERACTIVE_SLEEP(p) for nice(>=16) tasks is > NS_MAX_SLEEP_AVG.
CURRENT_BONUS(p) if it took the long sleep path can end up being 11,
which will lead to Ka-[fword]-BOOM in scheduler_tick() for an SMP box.
See TIMESLICE_GRANULARITY(p). (btdt;)

-Mike