> > > > > > > > What is the "key" that allows a MR to be shared among 2 processes? Do you > > > introduce some PD identifier? And then some {PDID, lkey} tuple is used to ID > > > the MR? > > > > > > I assume you have to share the PD first and then any MR in the shared PD can be > > > shared? If so how does the MR get shared? > > > > Sorry, i'm not following. > > I think the term 'share' is somehow mistake, it is actually a process > > 'imports' objects into it's context. And yes, the workflow is first to > > import the PD and then import the MR. > > Ok fair enough but the title of the thread is "Sharing PD and MR" so I used the You are right, my bad, will change the cover letter and some commit messages accordingly. > term Share. And I expect that any random process can't import objects to which > the owning process does not allow them to right? > > I mean you can't just have any process grab a PD and MR and start using it. So > I assume there is some "sharing" by the originating process. Any process that connects to the socket that the SCM_RIGHT message is relayed on. I guess that if this mechanism exist then importing the actual objects is just a supplemental service. > > >