aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/fbio.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2021-02-19 20:42:57 +0000
committerAlexander Motin <mav@FreeBSD.org>2021-02-19 20:49:36 +0000
commit05d882b780f5be2da6f3d3bfef9160aacc4888d6 (patch)
tree69933310b0ec87e60ac9da24adfc71b7f0da3dba /sys/sys/fbio.h
parentc3feaeaa32c9029ea98f2bb95c665390ca53728a (diff)
downloadsrc-05d882b780f5be2da6f3d3bfef9160aacc4888d6.tar.gz
src-05d882b780f5be2da6f3d3bfef9160aacc4888d6.zip
Microoptimize CTL I/O queues.
Switch OOA queue from TAILQ to LIST and change its direction, so that we traverse it forward, not backward. There is only one place where we really need other direction, and it is not critical. Use STAILQ_REMOVE_HEAD() instead of STAILQ_REMOVE() in backends. Replace few impossible conditions with assertions. MFC after: 1 month
Diffstat (limited to 'sys/sys/fbio.h')
0 files changed, 0 insertions, 0 deletions