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 C1F97A0C4D; Mon, 8 Nov 2021 15:27:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D6A641122; Mon, 8 Nov 2021 15:27:40 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2087.outbound.protection.outlook.com [40.107.94.87]) by mails.dpdk.org (Postfix) with ESMTP id 05C2B40E28 for ; Mon, 8 Nov 2021 15:27:38 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bFK2/yEFRB2YNd6KRt60+zUzcK29sHZ4LOBePCvPAqCycCPDcQDp594n15Bb/CJ3Qajit2co80Opi+3siIEdZn63yAWLZGU9sx4T8jAlHkeUI83Tvw4tUQHtSwvBmvpKImOmc9/mys1ZzYPgLJbQBxzwKp0zqwBcyP65Z9HyibBA+Vgk7QXV9WMzu4+H4J1o5okFSFEdLXw1zWaI6SpqSdj7fdhfeB3BZbG+ccMXOjzXEoP8YhuEziohQt1YZ+1ucJVvRZhfSygEp2Y3Q4BZ2o5avpI8buTnTu8wmzfWVxi2mqdQDxyMevlxNX5RdoUPHf9aMAtU9ZBuFLO0JGDFjg== 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=2qb4fEWCJd1O5A0kkzw3YfXjuD3WRsHQDCwlEVuwYm4=; b=jQ6rXfieu+8WjXby1giME/uKCyrNlhQjIT4PjnF4LvM+l6gS7K+u4UU2Y0wJvwDW9uEyaO0mbNm600vn7oo0q+bTDWuVeRP1d7hGRNB0cZgdVgq88z7o+ZMfNC56/6C1Bw6F0Z6iXwSPVzCWiI629yls2N4AZ3FvvHEgXIlJ5pRNleZzlllYIyVOmBerRgIi2N2SDHFaKUTcqSDY0US+edX/92YgD2AaK00yXzkxc415QOKQFowoeo6VKNIA2TAOm55WqUPtLx8ENrZxX5XXHpwSm1Prlypi8sZG0TnsNkR0L5TbXQtL7rsCis3UgBOrJih7Fsbav8Kr2g+EAlcRBQ== 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=2qb4fEWCJd1O5A0kkzw3YfXjuD3WRsHQDCwlEVuwYm4=; b=U7oRDJgdxdMvlpiVnyqA8gFvXCcG78oRXwVURw8arTIaLQKAxTU9PhKBY6aYPMuyHXq8PlGgDPnVO5hDLA8IdhphbVXonX4kakIjmI0UK+v4TOY+0GqDMQT7mVO1aH42DUBpBTklHcIlpaW/aGgmkbd6VHN+7h6H2Tb8iuDb6mzG9Xv81WDv6Rs0oGuUOqlnZvferf45DDyoy81+UYAf2BRrFEThjjQvuGXGLVAMFbku7fe+e8O0/o3SR+0IQ0ELpYzv+gOxrihtKk9rd8t8JA8F7IsgzgZPaZfboJoeuuVZZZGdHm9LyldjwLRXSSJp1Etob1wWDureMwp4KDmM9w== Received: from CH0PR12MB5091.namprd12.prod.outlook.com (2603:10b6:610:be::10) by CH0PR12MB5297.namprd12.prod.outlook.com (2603:10b6:610:d4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Mon, 8 Nov 2021 14:27:36 +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.4669.013; Mon, 8 Nov 2021 14:27:36 +0000 From: Dmitry Kozlyuk To: David Marchand CC: dev , Slava Ovsiienko , Anatoly Burakov , NBU-Contact-Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v6 2/3] eal: add memory pre-allocation from existing files Thread-Index: AQHXvn4C6UFWsdLwt0umagFmcR1nPqvPgQOAgAAAR/CAACAUgIAAMm8QgADmdQCAAcl98A== Date: Mon, 8 Nov 2021 14:27:36 +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: ecee44da-82d0-417c-7b15-08d9a2c3e94a x-ms-traffictypediagnostic: CH0PR12MB5297: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +Khf1yLApGMcmyMInI36C4RFxyr45hTwUJJA9wlXcAEDFfIpVAnLvLr85PX4R50gTfWf5l4SFFM3rK+AB7DBTPjZF9VDU5Dq0OR5N7w2KOX/IuAq/qlMynmLCbB7KHKoMfh8Raw+kRhVBh0m5Pj+aES082QqZfdgw7uHd1aeLnW8C7Ey+NkYQby+ExVEWbOPYbkL+GZuG8+H9jsbQ1ujbVftm1uRnbIvPP5DYCGQRKQ/gjI84mNXP6WtejY9j+SvDExfLP+5YFf7bbU/ENDVJlKTb5PdbJj1eJhHso3k4gnE8kK7qD4LjRYA5+IgwmQrb1rF8RdyPwWRBNCt55379GGu2vLfW6xPuumry4qrcjvJyXXN3aSJiG9SHnZ9hsRtFDpHXc5P0K8fmMALKBOWkkmc/g5i/jPhIbF8bQH9WLIyOcke/x4QldFTCb+S03EUJMqXliH60gqV6IA8wdXUAPjX8+6WTlCP5+NUqEeQoKtzguDkNK7I3JwCldPbpWI6FU4dRH8216gM2xyXVKQzKIix7WBYa80Vgrb+97s6IucDrNCXtig/tR14O2FGrTVVogUVNUwSkEmgex1tdYwN6qalpD1gE3EJcnV74QLEkKfTC3PoAKxnyBgFQy3ta9VvLSiXAVAKXUOHvs6H6/RsNQFA5czI3nfXJkZu7E0TMT1unmSp5XmsixClXr/cLq5udq5uXLHwOPRCaEA1Fi5NLg== 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)(2906002)(6506007)(52536014)(55016002)(9686003)(38100700002)(33656002)(83380400001)(8676002)(71200400001)(76116006)(26005)(66446008)(186003)(38070700005)(7696005)(64756008)(66946007)(54906003)(66556008)(5660300002)(66476007)(4326008)(8936002)(6916009)(86362001)(316002)(508600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZStQa3BGdmJ6VXNsU1ZqbmFzMWtpdTdlbDhtYi95Z1BUUjVacm0wdnBLbks5?= =?utf-8?B?QWtyQ0xqMDRYU3dJVUMrcGR0ZjY3UzU5NWxlaUJQMFhycFVrN2ZwZ25keFJP?= =?utf-8?B?S3hjeU5HamZvOWpUUmZ5YktuaCt3MTV2RmxvVGQ2MzRxeVhFY3dGYjMxWm1p?= =?utf-8?B?ejMxczl0cjBWT3R5V2ZHWk1oUWpvUE1MUENyaGpLWkJaNlVIY0p5ZGl0UkUw?= =?utf-8?B?cEdJ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k5zWWdKRGltc3B6VnBhNXlL?= =?utf-8?B?bkdHcmllTHFzbE54U2duTGo1UmlFL1BsekVrMHMveExTeFNhejkvRmhPV2hR?= =?utf-8?B?K25uU29ETTNmUFVXWW1FSERDRU9zdjBzc2E2Y2dMZnBDZi9VK05yU1NhWWtl?= =?utf-8?B?T3c9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR12MB5091.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ecee44da-82d0-417c-7b15-08d9a2c3e94a X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2021 14:27:36.4437 (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: cRn9kIqs05IqK/gR46Gph8h7wzdp9pJPYZIXMsdgKf5unnPK2zHdYy1jNGpGdmrJ6HbbPMkszeEwm84it4Y2lA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5297 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" SGkgRGF2aWQsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGF2aWQg TWFyY2hhbmQgPGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20+DQpbLi4uXQ0KPiA+ID4gLSBmaW5l Z3JhaW5lZCBjb250cm9sIG9mIGh1Z2VwYWdlIGZpbGVzLCB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