I have 2 processes (on linux). The first process can allocate pinned memory (cudahostalloc).
I would like to allow the second process to write directly on the pinned memory buffer allocated by the first process.
So, I need to map the address space of the pinned buffer on my second process address space. Nevertheless, it seems to be impossible to use shared memory (like mmap or shm_open) because mmap must allocate itself the memory to map (and cudahostalloc allocate the memory).
Do you now a solution to share a pinned buffer between several linux processes ?