diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-06-23 14:24:44 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-24 18:39:15 -0600 |
commit | 0638cd7be21221c7b583a4901e25e63d96112395 (patch) | |
tree | 284eb4a34db8805ceb96399d3bd22251e2418fdb /io_uring/poll.h | |
parent | 78a861b9495920f8609dee5b670dacbff09d359f (diff) | |
download | linux-stable-0638cd7be21221c7b583a4901e25e63d96112395.tar.gz linux-stable-0638cd7be21221c7b583a4901e25e63d96112395.tar.bz2 linux-stable-0638cd7be21221c7b583a4901e25e63d96112395.zip |
io_uring: clean poll ->private flagging
We store a req pointer in wqe->private but also take one bit to mark
double poll entries. Replace macro helpers with inline functions for
better type checking and also name the double flag.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/9a61240555c64ac0b7a9b0eb59a9efeb638a35a4.1655990418.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/poll.h')
0 files changed, 0 insertions, 0 deletions