[ofa-general] Re: [PATCH RFC] sharing userspace IB objects

Michael S. Tsirkin mst at dev.mellanox.co.il
Mon Jul 2 12:59:28 PDT 2007


>  > > I guess we need this to be able to re-mmap doorbell pages etc, right?
>  > > I wonder if there's a better way around that... maybe extending the
>  > > kernel interface so that unrelated processes can share a context, eg
>  > > by putting contexts in a filesystem or something like that.
> 
> The advantage is that sharing objects in a filesystem by doing open(),
> protected by permissions etc. is much more familiar than passing fds
> through sockets.  I'm not sure it makes sense but shared memory + unix
> domain socket fd passing is not a very natural way for most people to
> program.

Could you please clarify how do you envision this done?
Do we just create our own filesystem?

Reason I ask, we'll need something like this for SRC domain too ...

-- 
MST



More information about the general mailing list