[ofiwg] fork support and MR cache

Jason Gunthorpe jgg at ziepe.ca
Thu Oct 8 13:12:14 PDT 2020


On Thu, Oct 08, 2020 at 07:28:50PM +0000, Hefty, Sean wrote:

> > Please don't recode the kernel interface outside rdma-core, that stuff
> > is hard to do right.
> 
> I'm was referring to calling:
> 
> mr->context->ops.reg_mr(...)
> 
> instead of indirectly through ibv_reg_mr().

I deleted those function pointers from the public header a long time
ago. It was leaking internal ABI.

> I'm actually fine disabling the cache if fork is enabled.  But how can that be detected?

If you wan to propose an verbs API to show if the fork support MADV
stuff has been enabled that seems reasonable to me.

Jason


More information about the ofiwg mailing list