diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-08-05 18:31:22 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-08-05 18:31:22 +0000 |
commit | 89a2a6fe0541ae8b7f1357b2cf4b4bce94d07946 (patch) | |
tree | 374ee603ee872abe1615a91ac4b354ecc8f87c2f /sys/conf | |
parent | abbee944d54fce28c21e5ff5ae62eff40a24758b (diff) |
Switch pending event clearing to an atomic swap operation
Rather than performing an atomic bit clearing for every encountered
event bit set we can adjust the code to perform an atomic swap of a
single row of the events array and decrease the amount of expensive
atomic operations.
Same optimization as for Hyper-V. From FreeBSD.
Diffstat (limited to 'sys/conf')
0 files changed, 0 insertions, 0 deletions