Re: [PATCH 0/2] don't use pid for request cancellation

From: Jens Axboe
Date: Mon Jun 15 2020 - 11:05:02 EST


On 6/15/20 1:33 AM, Pavel Begunkov wrote:
> 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

Looks good, and I had the same thought of not grabbing a ref to the
task for the cancel case where we don't need to dereference it.

--
Jens Axboe