diff options
author | Peter Zijlstra <[email protected]> | 2013-08-28 12:40:38 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-09-12 19:14:45 +0200 |
commit | c61037e905a5cb74c7d786c35ee2cdbab9ed63af (patch) | |
tree | adb3eeb373d200bf18de15687692afc82f117747 /kernel/gcov/gcov.h | |
parent | b37d931685b519cd61a67fbdfe5b04707eb76e32 (diff) |
sched/fair: Fix the group_capacity computation
Do away with 'phantom' cores due to N*frac(smt_power) >= 1 by limiting
the capacity to the actual number of cores.
The assumption of 1 < smt_power < 2 is an actual requirement because
of what SMT is so this should work regardless of the SMT
implementation.
It can still be defeated by creative use of cpu hotplug, but if you're
one of those freaks, you get to live with it.
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Vincent Guittot <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'kernel/gcov/gcov.h')
0 files changed, 0 insertions, 0 deletions