CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2012/07/10 10:56:28
Modified files:
sys/kern : kern_synch.c
Log message:
We should only call need_resched() if the priority is lower than the
priority of the current running process.
In amd64 a call to need_resched() sends an IPI to the other cpu.
This fixes aja@ problem where he would move the mouse and see 60000
IPIs being sent.
Thanks to mikeb@ for bringing that subject up tuesday.
Actually found this after inquiring guenther@ about some changes in
mi_switch().
ok guenther@ aja@