aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorZhengyuan Liu <[email protected]>2019-07-13 11:58:26 +0800
committerJens Axboe <[email protected]>2019-07-16 08:27:09 -0600
commitdbd0f6d6c2a11eb9c31ca9cd454f95bb5713e92e (patch)
treebf49250d4c59d6b4ed45b9075cf9c3d793872064 /tools/perf/util/scripting-engines/trace-event-perl.c
parent9637d517347e80ee2fe1c5d8ce45ba1b88d8b5cd (diff)
io_uring: fix the sequence comparison in io_sequence_defer
sq->cached_sq_head and cq->cached_cq_tail are both unsigned int. If cached_sq_head overflows before cached_cq_tail, then we may miss a barrier req. As cached_cq_tail always follows cached_sq_head, the NQ should be enough. Cc: [email protected] Fixes: de0617e46717 ("io_uring: add support for marking commands as draining") Signed-off-by: Zhengyuan Liu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions