Re: [PATCH] small optimization to update_curr_rt

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dimitri Sivanich
Date: Friday, October 31, 2008 - 6:46 am

On Fri, Oct 31, 2008 at 06:10:13AM -0700, Steven Noonan wrote:

Steve,

While it might be possible for it to change in that instant, I don't know if it matters.

If the runtime value should change to RUNTIME_INF in that instant, it will be caught in sched_rt_runtime_exceeded().  If it changed from RUNTIME_INF to a lower value, I doubt it would matter much, as at most one more rt_rq value wouldn't be checked.  Either way some rt_rq values would have been checked during the loop and some would not.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] small optimization to update_curr_rt, Dimitri Sivanich, (Fri Oct 31, 6:03 am)
Re: [PATCH] small optimization to update_curr_rt, Steven Noonan, (Fri Oct 31, 6:10 am)
Re: [PATCH] small optimization to update_curr_rt, Dimitri Sivanich, (Fri Oct 31, 6:46 am)
Re: [PATCH] small optimization to update_curr_rt, Peter Zijlstra, (Mon Nov 3, 3:22 am)
Re: [PATCH] small optimization to update_curr_rt, Ingo Molnar, (Mon Nov 3, 3:29 am)