CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/09/22 21:03:12
Modified files:
sys/arch/powerpc64/dev: opal.c
sys/arch/powerpc64/include: cpu.h intr.h
sys/arch/powerpc64/powerpc64: cpu.c intr.c
Log message:
Use an IPI, so hw.setperf affects all cores in the mp kernel.
Before, apm -A was speeding up only one core of my POWER9.
Now, apm -A speeds up all cores, so my parallel builds are faster.
I copy the idea from amd64 and i386: mp_setperf() sends an IPI to all
cpus; the interrupt handler calls ul_setperf().
ok deraadt@ kettenis@