summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/run
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2021-09-18 12:25:06 +0000
committerjmcneill <jmcneill@NetBSD.org>2021-09-18 12:25:06 +0000
commit45fdbf4061086866687b96c82aaba4ae6933a2fa (patch)
tree841327e39f3691d544f4f83be7477b76f2e89aa3 /sys/dev/microcode/run
parentf57d077c80a45c720e0ad2b91966e21db3bcb75a (diff)
gic_splx: performance optimizations
Avoid any kind of register access (DAIF, PMR, etc), barriers, and atomic operations in the common case where no interrupt fires between spl being raised and lowered. This introduces a per-CPU return address (ci_splx_restart) used by the vector handler to restart a sequence in splx that compares the new ipl with the per-CPU hardware priority state stored in ci_hwpl.
Diffstat (limited to 'sys/dev/microcode/run')
0 files changed, 0 insertions, 0 deletions