summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsevent.c
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2020-12-25 12:49:32 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2020-12-25 12:49:32 +0000
commitd5d6ba970dd241df83e52a3f686a5b3c47e2b215 (patch)
tree4e694322a749cd33efd5f7f878dac1e4a26b4ad9 /sys/dev/wscons/wsevent.c
parent6afa75a2d0bc3f82fb4c918a3adc98be368f7860 (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/wscons/wsevent.c')
0 files changed, 0 insertions, 0 deletions