From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: ivshmem mmap to specific address Date: Wed, 9 Dec 2015 10:38:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: Eli Britstein , "dev@dpdk.org" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id BC09E3787 for ; Wed, 9 Dec 2015 11:38:24 +0100 (CET) In-Reply-To: Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 e= ven > 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 i= n the primary process and hope that this time your "large code or construct= ors running before main" won't tread into that virtual address space. But e= ven that is not a guarantee by any means. Thanks, Anatoly