android_kernel_xiaomi_sm8350/arch/sparc
Ingo Molnar 0437e109e1 sched: zap the migration init / cache-hot balancing code
the SMP load-balancer uses the boot-time migration-cost estimation
code to attempt to improve the quality of balancing. The reason for
this code is that the discrete priority queues do not preserve
the order of scheduling accurately, so the load-balancer skips
tasks that were running on a CPU 'recently'.

this code is fundamental fragile: the boot-time migration cost detector
doesnt really work on systems that had large L3 caches, it caused boot
delays on large systems and the whole cache-hot concept made the
balancing code pretty undeterministic as well.

(and hey, i wrote most of it, so i can say it out loud that it sucks ;-)

under CFS the same purpose of cache affinity can be achieved without
any special cache-hot special-case: tasks are sorted in the 'timeline'
tree and the SMP balancer picks tasks from the left side of the
tree, thus the most cache-cold task is balanced automatically.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2007-07-09 18:51:57 +02:00
..
boot
kernel sched: zap the migration init / cache-hot balancing code 2007-07-09 18:51:57 +02:00
lib [SPARC32]: Build fix. 2007-05-31 01:52:51 -07:00
math-emu kbuild: use relative path to -I 2006-04-04 16:56:10 +02:00
mm header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
oprofile [SPARC]: Add sparc profiling support 2006-10-17 19:28:53 -07:00
prom [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
defconfig [SPARC32]: Update defconfig. 2007-05-14 03:53:12 -07:00
Kconfig [SPARC]: Mark as emulating cmpxchg, add appropriate depends for DRM. 2007-05-29 02:51:24 -07:00
Kconfig.debug
Makefile [SPARC]: Add sparc profiling support 2006-10-17 19:28:53 -07:00