Re: [PATCH rdma-next 00/13] Elastic Fabric Adapter (EFA) driver

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

 



On 09-Jan-19 17:36, Jason Gunthorpe wrote:>> We can also just fail mmaps for
pages that are still used by a different
>> ucontext instead of deferring the PD deallocation.
> 
> How do you know if they are still used?

Store all mapped BAR pages per device, every mmap to a page that still exists in
our database will fail (unless it's from the same ucontext).
Dealloc ucontext will remove all pages associated to the ucontext so other users
could mmap it.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux