diff options
author | 2019-11-29 00:11:53 +0300 | |
---|---|---|
committer | 2019-12-19 06:08:50 -0700 | |
commit | 7d30a621028a22a9e8fbae5c5d8dc455869e4999 (patch) | |
tree | 2ed626e9fce51d89849495a2ab5a8b68496fb4ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'sound-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (diff) | |
download | wireguard-linux-7d30a621028a22a9e8fbae5c5d8dc455869e4999.tar.xz wireguard-linux-7d30a621028a22a9e8fbae5c5d8dc455869e4999.zip |
blk-mq: optimise rq sort function
Check "!=" in multi-layer comparisons. The same memory usage, fewer
instructions, and 2 from 4 jumps are replaced with SETcc.
Note, that list_sort() doesn't differ 0 and <0.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions