diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-01-17 00:57:29 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-01-17 09:45:24 -0700 |
commit | b4bc35cf8704db86203c0739711dab1804265bf3 (patch) | |
tree | c77cddf0ab6b496c383bf55b81940bfa3e3246d8 /scripts/gdb/linux/page_owner.py | |
parent | e8c407717b4814dac5641d93cbbbb9fc394f7cf0 (diff) |
io_uring: combine cq_wait_nr checks
Instead of explicitly checking ->cq_wait_nr for whether there are
waiting, which is currently represented by 0, we can store there a
large value and the nr_tw will automatically filter out those cases.
Add a named constant for that and for the wake up bias value.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/38def30282654d980673976cd42fde9bab19b297.1705438669.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/page_owner.py')
0 files changed, 0 insertions, 0 deletions