Re: [PATCH] io_uring: Fix release of pinned pages when __io_uaddr_map fails

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

 



On Wed, 13 Mar 2024 17:39:12 -0400, Gabriel Krisman Bertazi wrote:
> Looking at the error path of __io_uaddr_map, if we fail after pinning
> the pages for any reasons, ret will be set to -EINVAL and the error
> handler won't properly release the pinned pages.
> 
> I didn't manage to trigger it without forcing a failure, but it can
> happen in real life when memory is heavily fragmented.
> 
> [...]

Applied, thanks!

[1/1] io_uring: Fix release of pinned pages when __io_uaddr_map fails
      (no commit info)

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