public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH 0/2] don't use pid for request cancellation
@ 2020-06-15  7:33 Pavel Begunkov
  2020-06-15  7:33 ` [PATCH 1/2] io_uring: lazy get task Pavel Begunkov
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Pavel Begunkov @ 2020-06-15  7:33 UTC (permalink / raw)
  To: Jens Axboe, io-uring, linux-kernel; +Cc: ebiederm

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(-)

-- 
2.24.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-15 16:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-15  7:33 [PATCH 0/2] don't use pid for request cancellation Pavel Begunkov
2020-06-15  7:33 ` [PATCH 1/2] io_uring: lazy get task Pavel Begunkov
2020-06-15  7:33 ` [PATCH 2/2] io_uring: cancel by ->task not pid Pavel Begunkov
2020-06-15 15:04 ` [PATCH 0/2] don't use pid for request cancellation Jens Axboe
2020-06-15 16:01   ` Pavel Begunkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox