diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2020-12-25 12:49:32 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2020-12-25 12:49:32 +0000 |
commit | d5d6ba970dd241df83e52a3f686a5b3c47e2b215 (patch) | |
tree | 4e694322a749cd33efd5f7f878dac1e4a26b4ad9 /sys/dev | |
parent | 6afa75a2d0bc3f82fb4c918a3adc98be368f7860 (diff) |
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 'sys/dev')
0 files changed, 0 insertions, 0 deletions