diff options
author | Vincent Guittot <[email protected]> | 2014-08-26 13:06:47 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-09-19 12:35:27 +0200 |
commit | 26bc3c50d3b3984564c270da86f1fbbfb774dbcd (patch) | |
tree | c925b5df1c144827950a0787c8d51dc1c24cba34 /net/lapb/lapb_subr.c | |
parent | 65fdac08c264506ff95ee1e34ae066e308c9e6e3 (diff) |
sched: Allow all architectures to set 'capacity_orig'
'capacity_orig' is only changed for systems with an SMT sched_domain level in order
to reflect the lower capacity of CPUs. Heterogenous systems also have to reflect an
original capacity that is different from the default value.
Create a more generic function arch_scale_cpu_capacity that can be also used by
non SMT platforms to set capacity_orig.
The __weak implementation of arch_scale_cpu_capacity() is the previous SMT variant,
in order to keep backward compatibility with the use of capacity_orig.
arch_scale_smt_capacity() and default_scale_smt_capacity() have been removed as
they were not used elsewhere than in arch_scale_cpu_capacity().
Signed-off-by: Vincent Guittot <[email protected]>
Reviewed-by: Kamalesh Babulal <[email protected]>
Reviewed-by: Preeti U. Murthy <[email protected]>
[ Added default_scale_cpu_capacity() back. ]
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions