diff options
author | 2020-12-25 12:49:31 +0000 | |
---|---|---|
committer | 2020-12-25 12:49:31 +0000 | |
commit | 83695439b7c396b7300169e0e2c64c0b087ba7f4 (patch) | |
tree | a27081815794506e9620c72de78911fd5bb9e221 /regress/sys/netinet/pmtu/tcp_atomicfrag6.py | |
parent | Add Orange Pi Zero Plus. ok jsg@ (diff) | |
download | wireguard-openbsd-83695439b7c396b7300169e0e2c64c0b087ba7f4.tar.xz wireguard-openbsd-83695439b7c396b7300169e0e2c64c0b087ba7f4.zip |
Small smr_grace_wait() optimization
Make the SMR thread maintain an explicit system-wide grace period and
make CPUs observe the current grace period when crossing a quiescent
state. This lets the SMR thread avoid a forced context switch for CPUs
that have already entered the latest grace period.
This change provides a small improvement in smr_grace_wait()'s
performance in terms of context switching.
OK mpi@, anton@
Diffstat (limited to 'regress/sys/netinet/pmtu/tcp_atomicfrag6.py')
0 files changed, 0 insertions, 0 deletions