mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
sched/fair: Fix ascii art by relpacing tabs
[ Upstream commit 08f7c2f4d0e9f4283f5796b8168044c034a1bfcb ] When using something other than 8 spaces per tab, this ascii art makes not sense, and the reader might end up wondering what this advanced equation "is". Signed-off-by: Odin Ugedal <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Vincent Guittot <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
dd776d2fdf
commit
432188f626
1 changed files with 4 additions and 4 deletions
|
|
@ -2927,7 +2927,7 @@ void reweight_task(struct task_struct *p, int prio)
|
|||
*
|
||||
* tg->weight * grq->load.weight
|
||||
* ge->load.weight = ----------------------------- (1)
|
||||
* \Sum grq->load.weight
|
||||
* \Sum grq->load.weight
|
||||
*
|
||||
* Now, because computing that sum is prohibitively expensive to compute (been
|
||||
* there, done that) we approximate it with this average stuff. The average
|
||||
|
|
@ -2941,7 +2941,7 @@ void reweight_task(struct task_struct *p, int prio)
|
|||
*
|
||||
* tg->weight * grq->avg.load_avg
|
||||
* ge->load.weight = ------------------------------ (3)
|
||||
* tg->load_avg
|
||||
* tg->load_avg
|
||||
*
|
||||
* Where: tg->load_avg ~= \Sum grq->avg.load_avg
|
||||
*
|
||||
|
|
@ -2957,7 +2957,7 @@ void reweight_task(struct task_struct *p, int prio)
|
|||
*
|
||||
* tg->weight * grq->load.weight
|
||||
* ge->load.weight = ----------------------------- = tg->weight (4)
|
||||
* grp->load.weight
|
||||
* grp->load.weight
|
||||
*
|
||||
* That is, the sum collapses because all other CPUs are idle; the UP scenario.
|
||||
*
|
||||
|
|
@ -2976,7 +2976,7 @@ void reweight_task(struct task_struct *p, int prio)
|
|||
*
|
||||
* tg->weight * grq->load.weight
|
||||
* ge->load.weight = ----------------------------- (6)
|
||||
* tg_load_avg'
|
||||
* tg_load_avg'
|
||||
*
|
||||
* Where:
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue