Re: [PATCH] io_uring: don't assume mm is constant across submits

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

 



On Tue, Dec 29, 2020 at 10:53:21AM -0700, Jens Axboe wrote:
> If we COW the identity, we assume that ->mm never changes. But this
> isn't true of multiple processes end up sharing the ring. Hence treat
> id->mm like like any other process compontent when it comes to the
> identity mapping.
> 
> Reported-by: Christian Brauner <christian.brauner@xxxxxxxxxx>:
> Tested-by: Christian Brauner <christian.brauner@xxxxxxxxxx>:
> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
> 
> ---

Thanks for fixing this! Fwiw, tested again just now.

Reviewed-by: Christian Brauner <christian.brauner@xxxxxxxxxx>



[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