From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0090.outbound.protection.outlook.com [157.56.112.90]) by dpdk.org (Postfix) with ESMTP id 33383568B for ; Wed, 9 Dec 2015 07:52:58 +0100 (CET) Received: from AM2PR02MB258.eurprd02.prod.outlook.com (10.160.30.151) by AM2PR02MB0786.eurprd02.prod.outlook.com (10.163.146.18) with Microsoft SMTP Server (TLS) id 15.1.337.19; Wed, 9 Dec 2015 06:52:57 +0000 Received: from AM2PR02MB260.eurprd02.prod.outlook.com (10.160.30.153) by AM2PR02MB258.eurprd02.prod.outlook.com (10.160.30.151) with Microsoft SMTP Server (TLS) id 15.1.337.19; Wed, 9 Dec 2015 06:52:56 +0000 Received: from AM2PR02MB260.eurprd02.prod.outlook.com ([10.160.30.153]) by AM2PR02MB260.eurprd02.prod.outlook.com ([10.160.30.153]) with mapi id 15.01.0337.015; Wed, 9 Dec 2015 06:52:56 +0000 From: Eli Britstein To: "dev@dpdk.org" Thread-Topic: ivshmem mmap to specific address Thread-Index: AdEyTjTV0t2Lr37iSwmATN9F+oGJFA== Date: Wed, 9 Dec 2015 06:52:56 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=eli.britstein@toganetworks.com; x-originating-ip: [192.116.190.146] x-microsoft-exchange-diagnostics: 1; AM2PR02MB258; 5:Ow91SjfUPXF6letItIXEXUMhCGXuktTi0eBp8/Z1M5pJNePW6j2NCZO7mBRPqCsZ2j/LJVMIfLk/05g1rMDxQ/cPLU97BN1J6dreRe/VK7Q0vM2xTjF+XESShjLNE+HIBs++nwl+fDi2JQKSJhkYOw==; 24:13i+s794TYfU1ddwArVsbgt+b3Sn12czB1FBs1ty60EDbTqwW4UvpBrE482HGQiV5CkCkjlTqYs/PASh0vhjaHA0/7LaQG8FG4zcNSLcgp8= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM2PR02MB258; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(10201501046); SRVR:AM2PR02MB258; BCL:0; PCL:0; RULEID:; SRVR:AM2PR02MB258; x-forefront-prvs: 0785459C39 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(164054003)(42154003)(34854003)(189002)(199003)(5890100001)(2351001)(10400500002)(19580395003)(50986999)(19300405004)(586003)(16236675004)(76576001)(87936001)(5002640100001)(92566002)(450100001)(54356999)(86362001)(229853001)(189998001)(15975445007)(77096005)(110136002)(107886002)(11100500001)(40100003)(2900100001)(5001960100002)(97736004)(105586002)(33656002)(1096002)(1220700001)(101416001)(102836003)(81156007)(19625215002)(122556002)(74316001)(6116002)(3846002)(5003600100002)(66066001)(2501003)(5004730100002)(5008740100001)(106356001)(790700001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR02MB258; H:AM2PR02MB260.eurprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: toganetworks.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2015 06:52:56.1834 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 73f7e7df-ca98-4f08-bf85-f137b447da96 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR02MB258 X-Microsoft-Exchange-Diagnostics: 1; AM2PR02MB0786; 2:8A9glFNq/xR3JaoKF+flsFR+Dfq8B5cb2tshuKkDUmJUT3h20PO125+VWhkuCYpcufyuuDmszuFzCgu2VoiPATzxjY6cdSDnnqkcMwn2lcKoAfmr9OXxbQl0dEb97Jqvfij1RNU7+RqZZyDAM2eYeg==; 23:MEUHTJsGcfhGV+Dt/gNM188XUEi99XQw8iOYPb4FZdBTHwDdnQj0OxxCvLZf+Ztlxi/DArHyWrRC1mQgsZe53z2ibHzYz7kNZOaMog/PtWwTQLp7mdNVuxzPJDw1kkpwk3QgJS+8k4ymBA3OTCrwyCmZS4V2IDhK+4kplE4HEf0GoOn+bNehJ2yMJcE8cSYw X-OriginatorOrg: toganetworks.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] ivshmem mmap to specific address X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2015 06:52:58 -0000 Hello, In librte_eal, in eal_ivshmem.c, in function map_all_segments, there is map= ping of segments from the metadata to the same virtual address as written i= n the metadata. Is there a method to guarantee that this mapping won't fail, even for diffe= rent processes, that might have large code or constructors running even bef= ore main? Thanks, Eli ---------------------------------------------------------------------------= ---------------------------------------------------------------------- This email and any files transmitted and/or attachments with it are confide= ntial and proprietary information of Toga Networks Ltd., and intended solely for the use of the individual or en= tity to whom they are addressed. If you have received this email in error please notify the system manager. = This message contains confidential information of Toga Networks Ltd., and is intended only for the individual = named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Pleas= e notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mai= l from your system. If you are not the intended recipient you are notified that disclosing, copying, distribut= ing or taking any action in reliance on the contents of this information is strictly prohibited. ---------------------------------------------------------------------------= ---------------------------------------------------------------------