Re: [PATCH 08/25] IB/uverbs: ufile must be freed only when not used anymore

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

 



On Wed, Jul 17, 2019 at 11:31:12PM +0300, Yuval Shaia wrote:
> On Wed, Jul 17, 2019 at 04:33:13PM -0300, Jason Gunthorpe wrote:
> > Like I said, drivers that require the creating ucontext as part of the
> > PD and MR cannot support sharing.
> 
> Even if we can make sure the process that creates the MR stays alive until
> all reference to this MR completes?

The kernel can't rely on userspace to do that.



[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