From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50086.outbound.protection.outlook.com [40.107.5.86]) by dpdk.org (Postfix) with ESMTP id 4F3C21B161 for ; Thu, 25 Jan 2018 17:33:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=rRgyQJ24wXP2lDtCplGevPuVgddC57KRYtazoHu8QG0=; b=pTt/1y4K4YQE7u5d2pLZyg+5Ls+NF6ozPKzzm6sA+Q2S/3F4voPiwmv3a9/JIc7j1qkRK3OHTiUV1PrmaVYgRmIutjGeiLRdHZxCVWd9MkKYv2K7wNDYDYpx/f2hlxhqvhYjUvZwd6VI6n8lnOWH0xZnTUWplpGxQQm7a8S+DZw= Received: from VI1PR05MB3149.eurprd05.prod.outlook.com (10.170.237.142) by VI1PR05MB1023.eurprd05.prod.outlook.com (10.162.11.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 25 Jan 2018 16:33:52 +0000 Received: from VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::789c:3f06:bb88:e29c]) by VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::789c:3f06:bb88:e29c%13]) with mapi id 15.20.0428.019; Thu, 25 Jan 2018 16:33:52 +0000 From: Shahaf Shuler To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , "Xueming(Steven) Li" CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] net/mlx5: mmap uar address around huge pages Thread-Index: AQHTle8+1KO3WIpDcUybSn5EWAl2/KOEv4qAgAAJDnA= Date: Thu, 25 Jan 2018 16:33:52 +0000 Message-ID: References: <20180119150854.89828-1-xuemingl@mellanox.com> <1516892424-160194-1-git-send-email-xuemingl@mellanox.com> <20180125160105.vm75fsol3y3z3cix@laranjeiro-vm.dev.6wind.com> In-Reply-To: <20180125160105.vm75fsol3y3z3cix@laranjeiro-vm.dev.6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [31.154.10.107] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB1023; 7:AMDsw42lr0rs+Ml/KwuCKi7l3cUEWOxUnxUZLVTPVSOBqiI7SfJXX4QIUY5zvf6Ih/Zb2rNuV2Mn74sLoJ/wE6bimkmaI3DBVyQnRKMyrVY06+SUKu7Kjc2G15fGyl+Ok53YmGDb5bTT2dyFjRv6pG8H8vzr+nRp2SE0qgtUhXhORKBSpsT21R1Lf7mYDYLVOz8/pWwqMGGdl5f6K8WUh0dxlFnKQ0hsjqcoduYc/eqRcTl5526/bu9X4p7SB90d x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 577be211-882d-41c8-25fe-08d564116bb9 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:VI1PR05MB1023; x-ms-traffictypediagnostic: VI1PR05MB1023: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231056)(2400081)(944501161)(6055026)(6041288)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR05MB1023; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB1023; x-forefront-prvs: 0563F2E8B7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39380400002)(396003)(346002)(39860400002)(366004)(199004)(189003)(6246003)(14454004)(3660700001)(3280700002)(4326008)(478600001)(33656002)(2906002)(5250100002)(2900100001)(6346003)(102836004)(26005)(106356001)(6116002)(3846002)(7736002)(305945005)(74316002)(8936002)(76176011)(7696005)(6506007)(110136005)(8676002)(81156014)(81166006)(5660300001)(105586002)(99286004)(316002)(97736004)(66066001)(6436002)(186003)(2950100002)(55016002)(86362001)(25786009)(229853002)(53936002)(9686003)(68736007)(6636002)(14583001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB1023; H:VI1PR05MB3149.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-microsoft-antispam-message-info: i6WPlcmtbHz9qWNrCpmAlISrFX3+WM1aaRbdZ52P6P0GMS/S7oGJCu+3dDljs8+UhdLSfJQzVYwSbSltS676fQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 577be211-882d-41c8-25fe-08d564116bb9 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2018 16:33:52.6060 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB1023 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: mmap uar address around huge pages X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2018 16:33:55 -0000 Thursday, January 25, 2018 6:01 PM, N=E9lio Laranjeiro: > Subject: Re: [PATCH v2] net/mlx5: mmap uar address around huge pages >=20 > On Thu, Jan 25, 2018 at 11:00:24PM +0800, Xueming Li wrote: > > Reserving the memory space for the UAR near huge pages helps to > > **reduce** the cases where the secondary process cannot start. Those > > pages being physical pages they must be mapped at the same virtual > > address as in the primary process to have a working secondary process. > > > > As this remap is almost the latest being done by the processes > > (libraries, heaps, stacks are already loaded), similar to huge pages, > > there is **no guarantee** this mechanism will always work. > > > > Signed-off-by: Xueming Li >=20 > As it does not break anything... >=20 > Acked-by: Nelio Laranjeiro Applied to next-net-mlx, thanks. >=20 > -- > N=E9lio Laranjeiro > 6WIND