lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 24 Oct 2012 14:53:45 -0700 From: Juri Lelli <juri.lelli@...il.com> To: peterz@...radead.org, tglx@...utronix.de Cc: mingo@...hat.com, rostedt@...dmis.org, oleg@...hat.com, fweisbec@...il.com, darren@...art.com, johan.eker@...csson.com, p.faure@...tech.ch, linux-kernel@...r.kernel.org, claudio@...dence.eu.com, michael@...rulasolutions.com, fchecconi@...il.com, tommaso.cucinotta@...up.it, juri.lelli@...il.com, nicola.manica@...i.unitn.it, luca.abeni@...tn.it, dhaval.giani@...il.com, hgu1972@...il.com, paulmck@...ux.vnet.ibm.com, raistlin@...ux.it, insop.song@...csson.com, liming.wang@...driver.com, jkacur@...hat.com, harald.gustafsson@...csson.com, vincent.guittot@...aro.org Subject: [PATCH 07/16] sched: SCHED_DEADLINE avg_update accounting. From: Dario Faggioli <raistlin@...ux.it> Make the core scheduler and load balancer aware of the load produced by -deadline tasks, by updating the moving average like for sched_rt. Signed-off-by: Dario Faggioli <raistlin@...ux.it> Signed-off-by: Juri Lelli <juri.lelli@...il.com> --- kernel/sched/dl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/sched/dl.c b/kernel/sched/dl.c index bc8c310..38e6071 100644 --- a/kernel/sched/dl.c +++ b/kernel/sched/dl.c @@ -556,6 +556,8 @@ static void update_curr_dl(struct rq *rq) curr->se.exec_start = rq->clock_task; cpuacct_charge(curr, delta_exec); + sched_rt_avg_update(rq, delta_exec); + dl_se->runtime -= delta_exec; if (dl_runtime_exceeded(rq, dl_se)) { __dequeue_task_dl(rq, curr, 0); -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists