android_kernel_xiaomi_sm8350/arch/mips/kernel
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
..
asm-offsets.c rename thread_info to stack 2007-05-09 12:30:56 -07:00
binfmt_elfn32.c
binfmt_elfo32.c
branch.c
cpu-bugs64.c
cpu-probe.c [MIPS] Fix scheduling latency issue on 24K, 34K and 74K cores 2007-07-06 16:17:11 +01:00
early_printk.c [MIPS] early_printk: allow the early console to run earlier 2007-05-11 14:28:30 +01:00
entry.S
gdb-low.S
gdb-stub.c
genex.S
head.S
i8253.c
i8259.c [MIPS] Register PCI host bridge resource earlier 2007-04-27 16:20:25 +01:00
init_task.c
irix5sys.S
irixelf.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
irixinv.c
irixioctl.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
irixsig.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
irq_cpu.c
irq-msc01.c [MIPS] MT: Reenable EIC support and add support for SOCit SC. 2007-05-11 14:28:31 +01:00
irq-mv6434x.c
irq-rm7000.c
irq-rm9000.c
irq.c [MIPS] Drop __devinit tag from allocate_irqno() and free_irqno() 2007-05-11 14:28:31 +01:00
kspd.c [MIPS] Fix AP/SP to work in the reality of modern kernels. 2007-04-27 16:20:23 +01:00
linux32.c [MIPS] Fix some system calls with long long arguments 2007-06-06 19:34:32 +01:00
machine_kexec.c
Makefile
mips_ksyms.c
mips-mt.c
module.c
proc.c
process.c
ptrace32.c
ptrace.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
r4k_fpu.S
r4k_switch.S [MIPS] Remove duplicate fpu enable hazard code. 2007-06-06 19:34:31 +01:00
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
relocate_kernel.S
reset.c
rtlx.c [MIPS] Fix AP/SP to work in the reality of modern kernels. 2007-04-27 16:20:23 +01:00
scall32-o32.S [MIPS] Wire up utimensat, signalfd, timerfd, eventfd 2007-06-11 18:20:53 +01:00
scall64-64.S [MIPS] Wire up utimensat, signalfd, timerfd, eventfd 2007-06-11 18:20:53 +01:00
scall64-n32.S [MIPS] Wire up utimensat, signalfd, timerfd, eventfd 2007-06-11 18:20:53 +01:00
scall64-o32.S [MIPS] Wire up utimensat, signalfd, timerfd, eventfd 2007-06-11 18:20:53 +01:00
semaphore.c
setup.c
signal32.c [MIPS] use compat_siginfo in rt_sigframe_n32 2007-06-26 19:57:33 +02:00
signal_n32.c [MIPS] use compat_siginfo in rt_sigframe_n32 2007-06-26 19:57:33 +02:00
signal-common.h
signal.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
smp-mt.c [MIPS] VSMP: Fix initialization ordering bug. 2007-07-04 15:53:16 +01:00
smp.c sched: zap the migration init / cache-hot balancing code 2007-07-09 18:51:57 +02:00
smtc-asm.S [MIPS] SMTC: Don't set and restore irqregs ptr from self_ipi. 2007-06-11 18:20:53 +01:00
smtc-proc.c
smtc.c [MIPS] Count timer interrupts correctly. 2007-06-26 19:57:34 +02:00
stacktrace.c simplify the stacktrace code 2007-05-08 11:14:58 -07:00
syscall.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sysirix.c
time.c [MIPS] Don't drag a platform specific header into generic arch code. 2007-06-20 22:27:10 +01:00
topology.c
traps.c [MIPS] Fix timer/performance interrupt detection 2007-07-06 16:17:11 +01:00
unaligned.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
vmlinux.lds.S all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
vpe.c [MIPS] AP/SP: Avoid triggering the 34K E125 performance issue 2007-07-06 16:17:10 +01:00