Skip to content

Commit 893c5d2

Browse files
msrasmussenIngo Molnar
authored andcommitted
sched/fair: Fix incorrect comment for capacity_margin
The comment for capacity_margin introduced in: 3273163 ("sched/fair: Let asymmetric CPU configurations balance at wake-up") ... got its usage the wrong way round - fix it. Signed-off-by: Morten Rasmussen <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 9e0994c commit 893c5d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/sched/fair.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ unsigned int sysctl_sched_cfs_bandwidth_slice = 5000UL;
109109

110110
/*
111111
* The margin used when comparing utilization with CPU capacity:
112-
* util * 1024 < capacity * margin
112+
* util * margin < capacity * 1024
113113
*/
114114
unsigned int capacity_margin = 1280; /* ~20% */
115115

0 commit comments

Comments
 (0)