[dpdk-dev] ivshmem mmap to specific address

Burakov, Anatoly anatoly.burakov at intel.com
Wed Dec 9 11:38:21 CET 2015


Hi Eli

> Is there a method to guarantee that this mapping won't fail, even for
> different processes, that might have large code or constructors running even
> before main?

I'm afraid there is none. That's the nature of the beast. The best you can do is map stuff into a different address range using --base-virtaddr flag in the primary process and hope that this time your "large code or constructors running before main" won't tread into that virtual address space. But even that is not a guarantee by any means.

Thanks,
Anatoly


More information about the dev mailing list