Re: [PATCH] io_uring: fix cancellation overwriting req->flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 14 Jun 2024 01:04:29 +0100, Pavel Begunkov wrote:
> Only the current owner of a request is allowed to write into req->flags.
> Hence, the cancellation path should never touch it. Add a new field
> instead of the flag, move it into the 3rd cache line because it should
> always be initialised. poll_refs can move further as polling is an
> involved process anyway.
> 
> It's a minimal patch, in the future we can and should find a better
> place for it and remove now unused REQ_F_CANCEL_SEQ.
> 
> [...]

Applied, thanks!

[1/1] io_uring: fix cancellation overwriting req->flags
      commit: f4a1254f2a076afb0edd473589bf40f9b4d36b41

Best regards,
-- 
Jens Axboe







[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux