Commit 69dd304c authored by Vincent Guittot's avatar Vincent Guittot Committed by Todd Kjos
Browse files

sched: rt scheduler sets capacity requirement



RT tasks don't provide any running constraints like deadline ones
except their running priority. The only current usable input to
estimate the capacity needed by RT tasks is the rt_avg metric. We use
it to estimate the CPU capacity needed for the RT scheduler class.

In order to monitor the evolution for RT task load, we must
peridiocally check it during the tick.

Then, we use the estimated capacity of the last activity to estimate
the next one which can not be that accurate but is a good starting
point without any impact on the wake up path of RT tasks.

Change-Id: I7acd9741adbe94a8a9763f77fb1d62de5d5eff8a
Signed-off-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: default avatarSteve Muckle <smuckle@linaro.org>
(am from https://patchwork.kernel.org/patch/7804941/

)
Signed-off-by: default avatarPunit Agrawal <punit.agrawal@arm.com>
parent 3cb8a18d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment