sched/cass: Drop IRQs util accounting

Change-Id: Ib4dc068d54b1a6c8c98fb8215dcf8002be05cef1
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Richard Raya 2025-02-08 19:32:57 -03:00
parent 45b9a00b85
commit a2d50bb156

View File

@ -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.