diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-11-28 22:11:53 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-12-19 14:08:50 +0100 |
commit | 7d30a621028a22a9e8fbae5c5d8dc455869e4999 (patch) | |
tree | 2ed626e9fce51d89849495a2ab5a8b68496fb4ce /mm/z3fold.c | |
parent | Merge tag 'sound-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ti... (diff) | |
download | linux-7d30a621028a22a9e8fbae5c5d8dc455869e4999.tar.xz 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 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions