summaryrefslogtreecommitdiff
path: root/rust/helpers/rbtree.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-04-15 08:49:35 -0600
committerJens Axboe <axboe@kernel.dk>2025-04-21 05:07:03 -0600
commit033b667a823ee403509e7156bc7fa335bd566bff (patch)
tree6df54413a1591ad1873e317540c09c23bae785f0 /rust/helpers/rbtree.c
parent9b79f86e06283bad016df3dca0f2d4fd2a2c690c (diff)
block: blk-rq-qos: guard rq-qos helpers by static key
Even if blk-rq-qos isn't used or configured, dipping into the queue to fetch ->rq_qos is a noticeable slowdown and visible in profiles. Add an unlikely static key around blk-rq-qos, to avoid fetching this cacheline if blk-iolatency or blk-wbt isn't configured or used. Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/rbtree.c')
0 files changed, 0 insertions, 0 deletions