summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_diskqueue.c
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2021-07-22 15:48:40 +0000
committerthorpej <thorpej@NetBSD.org>2021-07-22 15:48:40 +0000
commitdf0b7f23a37561af2944a002070437eb956adc6d (patch)
treed140d3b06814c56bc27f1b20c89e2712264644ee /sys/dev/raidframe/rf_diskqueue.c
parent74483f180b9559df092f44903a48db428b9bd79f (diff)
It's unlikely that a process will be using restartable atomic sequences
on Alpha, and furthermore it's unlikely that any given context switch will be returning to one even if the process has them. So, re-arrange the RAS processing in cpu_switchto() so that the most likely code paths are predicted by the branch predictor. On an EV4-class processor, this will save ~4-6 cycles on just about every context switch.
Diffstat (limited to 'sys/dev/raidframe/rf_diskqueue.c')
0 files changed, 0 insertions, 0 deletions