[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTik8PpdwGgLOE7rAauXqGYdnT53GpQ@mail.gmail.com>
Date: Fri, 17 Jun 2011 20:59:59 +0800
From: Hillf Danton <dhillf@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Mike Galbraith <efault@....de>,
Yong Zhang <yong.zhang0@...il.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH] sched: update cpupri for runqueue when its priority changes
On Fri, Jun 17, 2011 at 9:50 AM, Steven Rostedt <rostedt@...dmis.org> wrote:
> On Sun, 2011-06-05 at 17:54 +0800, Hillf Danton wrote:
>> When the priority of runqueue changes, lower or higer, the info of cpupri
>> should be updated, in cases such as pick_next_task_rt() and switched_to_rt().
>
> Why?
>
> 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.
Hillf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists