From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 4324C2E81 for ; Fri, 1 Jun 2018 14:23:04 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jun 2018 05:23:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,465,1520924400"; d="scan'208";a="59532303" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 01 Jun 2018 05:23:01 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 1 Jun 2018 05:23:01 -0700 Received: from lcsmsx152.ger.corp.intel.com (10.186.165.231) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 1 Jun 2018 05:23:01 -0700 Received: from hasmsx105.ger.corp.intel.com ([169.254.1.132]) by LCSMSX152.ger.corp.intel.com ([10.186.165.231]) with mapi id 14.03.0319.002; Fri, 1 Jun 2018 15:22:58 +0300 From: "Stojaczyk, DariuszX" To: "Burakov, Anatoly" , "dev@dpdk.org" Thread-Topic: [PATCH 1/2] memalloc: do not leave unmapped holes in EAL virtual memory area Thread-Index: AQHT+Ylht1uSMUivkEue5596ybs3oqRLCiOAgAA7/+A= Date: Fri, 1 Jun 2018 12:22:58 +0000 Message-ID: References: <1527857469-159391-1-git-send-email-dariuszx.stojaczyk@intel.com> <4ad00805-bf12-7426-4040-6a44c51226f2@intel.com> In-Reply-To: <4ad00805-bf12-7426-4040-6a44c51226f2@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjdhZDUyZTQtODU4Yy00ZjE2LThiYTktNWU2ZDRhNzg0NTM4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJFR05mY0F6YzJ0U1c2UUFrZVV1TWtpcGRzR0w5THZyTFhrdTcrYU5sYW9WMjdBUEZsR2RcL3ptdE9rMHY5ZHg4NCJ9 x-ctpclassification: CTP_NT x-originating-ip: [10.103.103.248] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/2] memalloc: do not leave unmapped holes in EAL virtual memory area 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: Fri, 01 Jun 2018 12:23:05 -0000 DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEJ1cmFrb3YsIEFuYXRvbHkN Cj4gU2VudDogRnJpZGF5LCBKdW5lIDEsIDIwMTggMTowMCBQTQ0KPiBPbiAwMS1KdW4tMTggMTo1 MSBQTSwgRGFyaXVzeiBTdG9qYWN6eWsgd3JvdGU6DQo+ID4gRUFMIHJlc2VydmVzIGEgaHVnZSBh cmVhIGluIHZpcnR1YWwgYWRkcmVzcyBzcGFjZSB0byBwcm92aWRlIHZpcnR1YWwNCj4gPiBhZGRy ZXNz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