From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 035D9A0C47; Tue, 12 Oct 2021 17:55:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 66558411C4; Tue, 12 Oct 2021 17:55:16 +0200 (CEST) Received: from AZHDRRW-EX02.NVIDIA.COM (azhdrrw-ex02.nvidia.com [20.64.145.131]) by mails.dpdk.org (Postfix) with ESMTP id D45FE4119A for ; Tue, 12 Oct 2021 17:55:14 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.175) by mxs.oss.nvidia.com (10.13.234.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.15; Tue, 12 Oct 2021 08:55:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eseXhJIxw1xDCXBkm+DwjpxftaoWLU+oRIqXItQCR0ITaVjfTHi52f/CjaMOg+D7udUW8iYvAeZL7qQU3qCs9DWW7CsgI2xZwujYpz1T3etzmrqbHXPEsk0jpu8nTan/FAO5c0KVMia/v8Jps4vtTgKpguRHv9JWrnWXWa/xNxgy8F4D4bL8asKahhTESfx625ALTXz8BtFGe1X1vuJtnGpB4FBeQwWbbhfRb0tADJW+jGjITVNRpWyzagoGF1q5LeZ0D5LtXfFD+EYiTjq5QS/23zY4HRMNUIPLdfT7Vg7Aj/HgMqA/i7Qa2PuVkIpETPFPj/sZukM4cqcYOdU5CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HykIC/U5EtMLHTBwTY01o4L7dnKFTlYEz568Xam0sAs=; b=bnlijRBkz1xFlqxhMZLs18DK6N24z7xCpWHzVnFukpuPm31vOZ+k2FYc/jdeLTChzx058py0SAg+6j4bK8iv7V1YmhgBM7bH4sjlsOMMJfacBm74CgmQyHR7Re58WJc7A197Uqp/w/3REwRzPCPrs5PeoS9P/INWQ9uq4Pw2prQJHceleY09hx1HD9RKFwmIxFWaD2aEu+SnGuGqFRiqWaGztmLg7R6n5AQWXuUgQqJEyNQiPHpODwFDfXbYiFD11rNhSHVGTvgHdrTagWJMoojFnIh1+sVfqpNugIy5QLJaDvRbkGHmbBdORSPeLpxaI7VRWzCoRUrySLsohtOFSg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HykIC/U5EtMLHTBwTY01o4L7dnKFTlYEz568Xam0sAs=; b=tIcchUViujl1EPw4XgrGTInkuXAN+yxLNa2PfiCLm4rAvfNGvuUijSk3M9x2PrpM/mVIZXrL9hSmyFnvdNdMnx/KpwscQU3D3yCW80YMSG/hILa69NAkOdzHqhGSf9Ddpn1v69PBKpfupMVV5R+ydfZR0lZ6rGvmmiTv0IQx5CUIbnyLlXIO5m0BBVqzT8ZuvP8yPuo7kpEvkJh7ZzpxL229f9meLUIGKUa7A5tKNMguiZHzIUs+zqxsFv7JDqM7NBT0Y21Qi4dDFy8U2c3dFZx2Zar9R2tLsyXSPK1NMgmEPs2ChzgYtbi+gwBk9YmKcSM9yI8mQ/uw5jVY8zGQSQ== Received: from CH0PR12MB5091.namprd12.prod.outlook.com (2603:10b6:610:be::10) by CH0PR12MB5346.namprd12.prod.outlook.com (2603:10b6:610:d5::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Tue, 12 Oct 2021 15:55:11 +0000 Received: from CH0PR12MB5091.namprd12.prod.outlook.com ([fe80::59bf:640f:7140:ab97]) by CH0PR12MB5091.namprd12.prod.outlook.com ([fe80::59bf:640f:7140:ab97%9]) with mapi id 15.20.4587.026; Tue, 12 Oct 2021 15:55:11 +0000 From: Dmitry Kozlyuk To: David Marchand CC: dev , Slava Ovsiienko , "Anatoly Burakov" Thread-Topic: [dpdk-dev] [PATCH v6 2/3] eal: add memory pre-allocation from existing files Thread-Index: AQHXvn4C6UFWsdLwt0umagFmcR1nPqvPgQOAgAAAR/A= Date: Tue, 12 Oct 2021 15:55:11 +0000 Message-ID: References: <20210921081632.858873-1-dkozlyuk@nvidia.com> <20211011085644.2716490-1-dkozlyuk@nvidia.com> <20211011085644.2716490-3-dkozlyuk@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f9b7ea73-176f-4174-c39b-08d98d98ac34 x-ms-traffictypediagnostic: CH0PR12MB5346: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: up+ka2ZDddBviDMnCScePcwT6ALowuHnbAEG7cBLqSTmb4VSUp6RSTXpzTsJNcOhitCn2j8PE7e8HJmNLzIWCsAc5EWa/jXaQw1YhRBRexf2u9ydpAS6r0L9Zy+j8esRLhMp8SJ8svZ3LwxmnLEcbOToR3442ys8tDkS3Tr2pmUWPD2QPcYWwG8hwcVr84R+GyR+qCwudldUfAE/SFDFvyehP4yXldHBacOh5BgWTbPy6PtE2YNR1vfYrKvdNqFUfcTXcEQ482jdrzlGXVFMSVIMa3p3v5Z+Z+WU4zj/+z7GYiIhYBwm2gLkfCBcBR5fRXDKKU3XJhhS7MmyDs0l5/jdmChg79H3RSEoGkiBCBLP7QBnp26NTDbYv1XGHALzaP/AS5xg6gJDSNqMTC0ei/K1MzAYXfNa5ljWFEqgm7fN2hm9aewpBTudEjsAWZbsP3cx/A6SRatkuyJ1DtuAe5H7AC9QoU1olJq1ddfqjNtkYdYA8x87bvVw46FhCeVOh7YSdpCNocgp185H6W8dxE5p6xPDKY2KER9+uDyKTyHtAUDd44q7QjI7orPkBpm8CHa/FUJGQ6RrAF7pkls8Bymc085AS7qsC9WAjkQTPLJ/1jp1ih0KkQZ12Gr3AM1T2O6QX7lz+AiCqZF2dHh28gdlXx/KSIZWembyCWCQFslGV50mP6AJYboGR8QmtRhOuzd/e2qj54e/C8D7wVDQcQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR12MB5091.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(122000001)(6506007)(9686003)(107886003)(6862004)(5660300002)(38100700002)(316002)(33656002)(8676002)(508600001)(86362001)(71200400001)(186003)(4744005)(64756008)(66446008)(66556008)(52536014)(66476007)(38070700005)(55016002)(66946007)(76116006)(26005)(2906002)(54906003)(8936002)(4326008)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OEpnSDVSaUVNVXdhTm5KQWsvZlV2Uks4MzR4bklvM2hCQnRnN0FuYm9SdHNY?= =?utf-8?B?akJqVHNLeHRHb0hVSkFzOUlveVRsenJEbTFZZnZxSVBKQUdRZGNkRlJQa21m?= =?utf-8?B?cXFJM1NmeitTWktXUU5SSk4vKzNzbldkM1Mrb0phUUZ5YjU3czdiaVRWcjg0?= =?utf-8?B?dEZqdG5HSEhDU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f-8?B?eEJDMHVWeUkxTmFJVU9VR3pYV01qMHc3SFVkdUhoOG00VUdwUkpvUEYySEhr?= =?utf-8?B?cGhTMG1HMU1wL25IN1A5b1ZvOVlKVVNDcXU4Z08raGxjVG00NThRcFl0RmdI?= =?utf-8?B?WmJsZ2JJWVlDeU45NEkxM1I4aGxQV0Z4bmZZamF2ZTFVUlBZZ3BoNElEd1Bh?= =?utf-8?B?dTlNMm1HTXova25YZmRab1JhVEZmZjFKaXZQZVdhYmVkakdUSEdFTkxuaDdF?= =?utf-8?B?RldRdTdEQzBWdTlFRGQ4OFFGMUs2THdBd0pTbERISXJxS3kxaFBIck5tRTJT?= =?utf-8?B?cmNRTTUzRDYwTUEzNkJvU2VpU0ljYWVJYUpzTXN6YkdxcFNaNUd3c2NFWFlH?= =?utf-8?B?RDZzb1VDZWhRWnhtWUFHRkJhQit1U2dHVzNQN2ZyUjVTYmxsNGxuWEhWck9K?= =?utf-8?B?VGEyaldsVE8vV20zenhhKzZsL2xQMUhHbzNPaGNJNU45OG96VHk0azEzQS9Q?= =?utf-8?B?OGp3enpYVlBEcDgxM203K09kd0NvWXZhNzFtZTZNVVVTMFB5R0dXWWJrQnF6?= =?utf-8?B?ZC8rRWR1c3RjTk5EdGR0UTFEYndDSXBOOGRsL3FtUExiWm5rL28xRG1wQnpz?= =?utf-8?B?ZWtLTlNCK25ldW9tOEJJYk12R0gvUkFNKytzVGQzcUtHSldOSk1KMUxmZk1I?= =?utf-8?Q?KnPwIkoFeSSfZEnyY8=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR12MB5091.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9b7ea73-176f-4174-c39b-08d98d98ac34 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2021 15:55:11.2553 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /RunDwz/JWNb8W3Kf1loktznIIYtmm0jMd2OAezgt4omG0dp+VmSlIjRiXrsibDKx9Q29wuEuOO/MdlSUtBVJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5346 Subject: Re: [dpdk-dev] [PATCH v6 2/3] eal: add memory pre-allocation from existing files X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" SGVsbG8gRGF2aWQsDQoNCj4gSSBoYXZlIHNvbWUgdHJvdWJsZSBmaWd1cmluZyB0aGUgbmVlZCBm b3IgdGhlIGxpc3Qgb2YgZmlsZXMuDQo+IFdoeSBub3QgdXNlIGEgZ2xvYmFsIGtub2IgLS1tZW0t Y2xlYXItb24tYWxsb2MgZm9yIHRoaXMgYmVoYXZpb3IgY2hhbmdlPw0KDQpNb3ZpbmcgbWVtc2V0 KCkgZG9lc24ndCBzcGVlZCBhbnl0aGluZyB1cCwgaXQncyBhIGZvcmNlZCBzdGVwIGZvciB0aGUg cmVhc29ucyBiZWxvdy4NCkN1cnJlbnRseSwgbWVtb3J5IGlzIGNsZWFyZWQgYnkgdGhlIGtlcm5l bCB3aGVuIGEgcGFnZSBpcyBtYXBwZWQgZHVyaW5nIGFuIGFsbG9jYXRpb24uDQpUaGlzIGNhbm5v dCBiZSB0dXJuZWQgb2ZmIGluIHN0b2NrIGtlcm5lbHMuIFRoZSBpc3N1ZSBpcyB0aGF0IGluaXRp YWwgYWxsb2NhdGlvbnMgYXJlIGxvbmdlcg0KYnkgdGhlIHRpbWUgbmVlZGVkIHRvIGNsZWFyIHRo ZSBwYWdlcywgd2hpY2ggaXMgPjkwJS4gR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