Skip to content

don't use pid for request cancellation

Pavel Begunkov io-uring lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2io_uring: lazy get taskfs/io_uring.c+22 -80 replies
2/2io_uring: cancel by ->task not pidfs/io-wq.h fs/io_uring.c+6 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] don't use pid for request cancellation

Cancel requests of an extiting task based on ->task address. As reported by Eric W. Biederman, using pid for this purpose is not right.

note: rebased on top of "cancel all" patches

Pavel Begunkov (2):
io_uring: lazy get task
io_uring: cancel by ->task not pid

 fs/io-wq.h    |  1 -
 fs/io_uring.c | 46 ++++++++++++++++++++++++++++------------------
 2 files changed, 28 insertions(+), 19 deletions(-)
Signature · 1 line
2.24.0