diff options
author | 2021-10-18 10:12:12 -0600 | |
---|---|---|
committer | 2021-10-19 09:21:42 -0600 | |
commit | bc490f81731e181b07b8d7577425c06ae91692c8 (patch) | |
tree | abe26a3d3c309e8a5d62e61e50ccd8a13036aebb /tools/perf/scripts/python/sched-migration.py | |
parent | blk-wbt: prevent NULL pointer dereference in wb_timer_fn (diff) | |
download | wireguard-linux-bc490f81731e181b07b8d7577425c06ae91692c8.tar.xz wireguard-linux-bc490f81731e181b07b8d7577425c06ae91692c8.zip |
block: change plugging to use a singly linked list
Use a singly linked list for the blk_plug. This saves 8 bytes in the
blk_plug struct, and makes for faster list manipulations than doubly
linked lists. As we don't use the doubly linked lists for anything,
singly linked is just fine.
This yields a bump in default (merging enabled) performance from 7.0
to 7.1M IOPS, and ~7.5M IOPS with merging disabled.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions