diff options
author | 2021-06-14 23:37:23 +0100 | |
---|---|---|
committer | 2021-06-15 15:38:39 -0600 | |
commit | 17d3aeb33cdae8c87a8ad97c4358a623a630e19a (patch) | |
tree | a3a6442d90792fbf17ec5f408b29e477387a55f4 /include/linux/compiler_types.h | |
parent | io_uring: shuffle more fields into SQ ctx section (diff) | |
download | linux-rng-17d3aeb33cdae8c87a8ad97c4358a623a630e19a.tar.xz linux-rng-17d3aeb33cdae8c87a8ad97c4358a623a630e19a.zip |
io_uring: refactor io_get_sqe()
The line of io_get_sqe() evaluating @head consists of too many
operations including READ_ONCE(), it's not convenient for probing.
Refactor it also improving readability.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/866ad6e4ef4851c7c61f6b0e08dbd0a8d1abce84.1623709150.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/compiler_types.h')
0 files changed, 0 insertions, 0 deletions