Re: [PATCH] sched: update cpupri for runqueue when its prioritychanges

From: Steven Rostedt
Date: Fri Jun 17 2011 - 10:34:32 EST


On Fri, 2011-06-17 at 20:59 +0800, Hillf Danton wrote:

> > We do the calculation on queuing and dequeuing the task, we only care
> > about the highest priority task that is on the queue, not what is
> > actually running.
> >
>
> It is to capture the changes in CPU priority caused by re-queued task and
> throttled RQ.

If we throttled the rq, then the fix up should happen in the
(en,de)queue code, and not scattered around.

I'll look deeper into how throttling affects the cpupri.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/