Skip to content
Commit 521223d7 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/cancel: don't default to setting req->work.cancel_seq



Just leave it unset by default, avoiding dipping into the last
cacheline (which is otherwise untouched) for the fast path of using
poll to drive networked traffic. Add a flag that tells us if the
sequence is valid or not, and then we can defer actually assigning
the flag and sequence until someone runs cancelations.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4bcb982c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment