Re: [PATCH] sched: remove resetting exec_start in put_prev_task_rt()
From: Hillf Danton
Date: Sat Jun 04 2011 - 00:26:25 EST
On Thu, Jun 2, 2011 at 4:04 PM, Yong Zhang <yong.zhang0@xxxxxxxxx> wrote:
> On Wed, Jun 1, 2011 at 10:03 PM, Hillf Danton <dhillf@xxxxxxxxx> 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?
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/