mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
sched/cass: Drop IRQs util accounting
Change-Id: Ib4dc068d54b1a6c8c98fb8215dcf8002be05cef1 Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
45b9a00b85
commit
a2d50bb156
@ -61,10 +61,10 @@ void cass_cpu_util(struct cass_cpu_cand *c, int this_cpu, bool sync)
|
||||
c->util -= min(c->util, task_util(current));
|
||||
|
||||
/* Get the utilization of everything other than CFS tasks */
|
||||
c->hard_util = cpu_util_rt(c->cpu) + cpu_util_irq(c->cpu);
|
||||
c->hard_util = cpu_util_rt(c->cpu);
|
||||
|
||||
/*
|
||||
* Account for lost capacity due to time spent in RT tasks and IRQs.
|
||||
* Account for lost capacity due to time spent in RT tasks.
|
||||
* Capacity is considered lost to RT tasks even when @p is an RT task in
|
||||
* order to produce consistently balanced task placement results between
|
||||
* CFS and RT tasks when CASS selects a CPU for them.
|
||||
|
Loading…
x
Reference in New Issue
Block a user