From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 2EC9310A3; Tue, 17 Jul 2018 11:22:05 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jul 2018 02:22:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,365,1526367600"; d="scan'208";a="58294359" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga006.jf.intel.com with ESMTP; 17 Jul 2018 02:22:03 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Jul 2018 02:22:03 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Jul 2018 02:22:03 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.57]) with mapi id 14.03.0319.002; Tue, 17 Jul 2018 17:22:00 +0800 From: "Xu, Qian Q" To: "Burakov, Anatoly" , "Stojaczyk, DariuszX" , "dev@dpdk.org" , "Thomas Monjalon" CC: "stable@dpdk.org" , "Xu, Qian Q" Thread-Topic: [dpdk-dev] [PATCH] memory: fix alignment in eal_get_virtual_area() Thread-Index: AQHUHQTCZopBObmU5UO4hhAISEQKz6SRUeWAgAAI0wCAAcnbIA== Date: Tue, 17 Jul 2018 09:22:00 +0000 Message-ID: <82F45D86ADE5454A95A89742C8D1410E3BB55381@shsmsx102.ccr.corp.intel.com> References: <1528916894-1991-1-git-send-email-dariuszx.stojaczyk@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGEzNzA1YWItYjgxYS00ZjQ2LThkZGMtM2MwNTM5MzRhNmU1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiK1hFS1Yzb0pCRHNHdHhVWnN0RW9KZFlyTHJTNjFkWlJIYWR1dmY2Vit4S0V1WTRXcm9KUXFqVHd6T1h1YlwvZnEifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] memory: fix alignment in eal_get_virtual_area() X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2018 09:22:06 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBCdXJha292LCBBbmF0b2x5DQo+IFNlbnQ6 IE1vbmRheSwgSnVseSAxNiwgMjAxOCAxMDowMSBQTQ0KPiBUbzogU3RvamFjenlrLCBEYXJpdXN6 WCA8ZGFyaXVzenguc3RvamFjenlrQGludGVsLm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