[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTikx9gENppLG4xwYOKSoFyhY+xXS=Q@mail.gmail.com>
Date: Sat, 4 Jun 2011 12:26:18 +0800
From: Hillf Danton <dhillf@...il.com>
To: Yong Zhang <yong.zhang0@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Steven Rostedt <rostedt@...dmis.org>,
Mike Galbraith <efault@....de>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH] sched: remove resetting exec_start in put_prev_task_rt()
On Thu, Jun 2, 2011 at 4:04 PM, Yong Zhang <yong.zhang0@...il.com> wrote:
> On Wed, Jun 1, 2011 at 10:03 PM, Hillf Danton <dhillf@...il.com> wrote:
>> Resetting exec_start, after updated in update_curr_rt(), could open window for
>> messing up the subsequent computations of delta_exec of the given task.
>
> I can't see how could this happen. what kind of 'subsequent computations'
> do you mean?
>
> But because exec_start will be reset by _pick_next_task_rt()/set_curr_task_rt(),
> you patch is ok. IMHO it is not critical, it's just cleanup instead.
>
H i Yong
The window is closed in the two cases, as you tip fingered, would you please
say a few more words about the window and tick timer?
thanks
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