On Thu, Oct 11, 2012 at 8:34 AM, Animesh K Trivedi1 <[email protected]> wrote:
>
> During memory memory registration, userspace buffers also go through same
> API calls (dma_map_sg_attrs(...)).
> What I am confused about why no such synchronization primitives are
> required in userspace before accessing
> an RDMA data buffer just after when an incoming write/recv (DMA on it) is
> finished? Who guarantees data
> freshness?

No one has really ever tried to deal with the issue of userspace RDMA on
a cache-incoherent architecture.  Basically if you try the current stack, the
in-kernel users (IPoIB etc) should be OK but libibverbs etc. will be completely
broken.

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to