Re: 【A question about kernel verbs API】

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

 



On Fri, Jun 14, 2019 at 09:16:15AM +0800, oulijun wrote:
> Hi, Jason Gunthorpe & Leon Romanovsky& Parav Pandit
>    Recently when I was learning kernel ofed code, I found an interesting thing about verbs, the implementation rely on
> roce driver,  taking ib_dereg_mr for example.
> 
> When the driver returns error, the reference count of rdma
> resource(pd, mr, etc.) won't be decreased. I worried that it will
> cause a memory leak.

The object was not destroyed, the caller has to try again.

Jason




[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