Module Name: src Committed By: mrg Date: Sun Jan 12 09:29:18 UTC 2020
Modified Files: src/sys/arch/aarch64/aarch64: cpu.c cpufunc.c locore.S src/sys/arch/aarch64/include: cpu.h cpufunc.h src/sys/arch/arm/fdt: cpu_fdt.c src/sys/kern: subr_cpu.c Log Message: provide some semblance of valid cpu topology for big.little systems. while attaching cpus, if the FDT provides "capacity-dmips-mhz" track the fastest set, and call cpu_topology_set() with slow=true for any cpus that are not the fastest. bug fix for cpu_topology_set(): actually set ci_is_slow for slow cpus. with this change, and -current's recent scheduler changes, this means that long running processes run on the faster cores. on RK3399 based systems, i am seeing 20-50% speed ups for many tasks. XXX: all this can be made common with armv7 big.little. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/aarch64/aarch64/cpu.c cvs rdiff -u -r1.13 -r1.14 src/sys/arch/aarch64/aarch64/cpufunc.c cvs rdiff -u -r1.50 -r1.51 src/sys/arch/aarch64/aarch64/locore.S cvs rdiff -u -r1.17 -r1.18 src/sys/arch/aarch64/include/cpu.h cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/include/cpufunc.h cvs rdiff -u -r1.30 -r1.31 src/sys/arch/arm/fdt/cpu_fdt.c cvs rdiff -u -r1.6 -r1.7 src/sys/kern/subr_cpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.