summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorhaesbaert <haesbaert@openbsd.org>2012-07-10 16:56:28 +0000
committerhaesbaert <haesbaert@openbsd.org>2012-07-10 16:56:28 +0000
commit87bf46853bf45b05d734e6ff97128c6f12ba94e6 (patch)
tree9a4862050a52849ce4fefc0180a1d631ef6d18e8 /share
parentAdd a subtest to the MTU ping that checks wether the ip length of (diff)
downloadwireguard-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