Messages in this thread | | | Date | Sat, 4 Jun 2011 12:26:18 +0800 | Subject | Re: [PATCH] sched: remove resetting exec_start in put_prev_task_rt() | From | Hillf Danton <> |
| |
On Thu, Jun 2, 2011 at 4:04 PM, Yong Zhang <yong.zhang0@gmail.com> wrote: > On Wed, Jun 1, 2011 at 10:03 PM, Hillf Danton <dhillf@gmail.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
| |