From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f48.google.com (mail-pg0-f48.google.com [74.125.83.48]) by dpdk.org (Postfix) with ESMTP id D8DFA23A for ; Sun, 6 May 2018 14:04:46 +0200 (CEST) Received: by mail-pg0-f48.google.com with SMTP id z4-v6so18326746pgu.13 for ; Sun, 06 May 2018 05:04:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=jkygI3ueDz70sM01WWqbvvtuMpLHlu8Vmigwci3T+qU=; b=XwxiQUQm69gMKEIWE6X3bUYF2WVeCgK4YvMz5BNkmtz6/mgmBed0JwcAS4o35UYO9u MkvyOJYVTbReDCdMV8WjI6qtJPikg7LaXOW0JSBlutsZZ6whn49+3E3KjqTnRqGWR7AB 503ZRwzde/sgtjMB4D+2o8m/pOQNLwMlQG7Ji82GyzS7WwhgkXfDDLmdQsA17Dnwmyay 6Hc2IqSEje8hE6AqsEcxdUDZU6eree6rtUUv5Jna+kiNxUFiBxIBp4tNtm/XBhTr1t2i Z1IXzg7Z4kjrxyM+XNzpElIdl00QEgyyfTU/MvaIB9L2VNDDs1qoEAB1dUbO7eDSKt1p YVNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jkygI3ueDz70sM01WWqbvvtuMpLHlu8Vmigwci3T+qU=; b=nj/7kOBJPl+rtRiXgmlj8OXXPoQ37tDVyRaRdyMsp/+pA0ro0YoGWbV3QXR+B5DMOR vUIEhkWXm/GRShnXnAzMspTWVhEBC2iL5eQl3jTKmd2RdqHlpjmZnFUAfzRa4JhPPGR5 YtsROKvN1ULFSOiyocTHCrjj36fUvtfvSaIUU2AFCSbUgyX/Sl8vuqfYNJgDsZ8XdAW6 re9mrV4iwgXGfnMLQWhZ0xwR4C2ubB+rbyUgA2khicqeGKm5PXPlN5a5Di/aZquGLkNp CJNbqYMF52HxpG+TzA1wh8QnT3eInVS58Nw5AITPl5esEfjtcPvf04k3JDGdKM2BbQnL v5Mw== X-Gm-Message-State: ALQs6tDBawOMguXld/QSQ8jXu9Ho9QMI3snuHyVzzuzsFCE0ZPojbkzG MpoFOKAFflzkSlDFbdDQt2Ex9ZKUak6mb5oiSt1KZA== X-Google-Smtp-Source: AB8JxZoQB4hTisK+Cd5IQbGaPTCDtZPslGPJGAXp3weecuvBB4zZaSOXVg0vDM03nQQkBz2piiblVOXrCgmCPQpjMCE= X-Received: by 2002:a17:902:3303:: with SMTP id a3-v6mr19422116plc.209.1525608285656; Sun, 06 May 2018 05:04:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.221.10 with HTTP; Sun, 6 May 2018 05:04:45 -0700 (PDT) From: "hom.sepanta@gmail.com" Date: Sun, 6 May 2018 16:34:45 +0430 Message-ID: To: users@dpdk.org X-Mailman-Approved-At: Tue, 08 May 2018 11:40:27 +0200 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Using memzone for sharing memory X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2018 12:04:47 -0000 Hi everyone. I was wondering if the virtual address of memzones remains the same across different processes. The memzone docs mention the same physical address is returned but there is no mention of the virtual address. A little bit of testing makes it look like that the virtual address is also the same, but I can't be sure about that. The interesting thing about this for me is that if the same virtual address is always returned, I could store and share complex data structures with internal pointers in a memzone. Does this sound possible? If using memzones is not the correct approach for this, could you suggest another course of action? Cheers, Mostafa