Re: move unsafe global rkey handling to the RDMA core

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

 



On Mon, Aug 29, 2016 at 12:02:17PM +0200, Christoph Hellwig wrote:
> This fairly simply series adds support to ib_alloc_pd to create the unsafe
> global rkey in the IB core, and then switches over all ULPs to use that
> functionality instead of using ib_get_dma_mr directly, and consequently
> removes ib_get_dma_mr now that all global registrations are done in the
> core code.
> 
> The advantage is that abuses of ib_get_dma_mr are more easily prevented,
> and use of the global unsafe rkey is more visible and auditable.
> 
> I'm also pondering removing the get_dma_mr methods and moving the global
> registrations into the ->alloc_pd methods, but I'll need to investigate
> how that will work out first.

This looks good to me:

Reviewed-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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