diff options
author | 2012-07-10 16:56:28 +0000 | |
---|---|---|
committer | 2012-07-10 16:56:28 +0000 | |
commit | 87bf46853bf45b05d734e6ff97128c6f12ba94e6 (patch) | |
tree | 9a4862050a52849ce4fefc0180a1d631ef6d18e8 /share | |
parent | Add a subtest to the MTU ping that checks wether the ip length of (diff) | |
download | wireguard-openbsd-87bf46853bf45b05d734e6ff97128c6f12ba94e6.tar.xz wireguard-openbsd-87bf46853bf45b05d734e6ff97128c6f12ba94e6.zip |
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@
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions