summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-01-18 20:22:41 +0300
committerJens Axboe <axboe@kernel.dk>2020-01-20 17:04:07 -0700
commit6b47ee6ecab142f938a40bf3b297abac74218ee2 (patch)
tree5e64b3964c2651b7e52868409b93870fae8894f9 /scripts/gdb/linux/utils.py
parent87987898a1dbc69b1138f7c10eb9abd655c03396 (diff)
io_uring: optimise sqe-to-req flags translation
For each IOSQE_* flag there is a corresponding REQ_F_* flag. And there is a repetitive pattern of their translation: e.g. if (sqe->flags & SQE_FLAG*) req->flags |= REQ_F_FLAG* Use same numeric values/bits for them and copy instead of manual handling. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions