From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6C1B5A00E6 for ; Wed, 7 Aug 2019 16:10:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 753782BA8; Wed, 7 Aug 2019 16:09:59 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10042.outbound.protection.outlook.com [40.107.1.42]) by dpdk.org (Postfix) with ESMTP id 796FC2B9C for ; Wed, 7 Aug 2019 16:09:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d3gyu0udfFmEw0K2rKbR0p74mNLZh3IdICO454g8HLQ=; b=EkBUO50sRnRaqcsB1jQWViAmnWTRXgBH+4aXlUlcoxhH+3EU/GSkWNy6zI3Z2ErCjtf+c/9yH4yESa87Q6S1xoX+vy2sCspP2FofYQFTd14bUOT9PKV5cpCuTQNzOUu4BUaqKenY7ejYZyM27k5V5lMEFA/9ZpubEZc/RCAxmIY= Received: from VI1PR08CA0177.eurprd08.prod.outlook.com (2603:10a6:800:d1::31) by AM0PR08MB4945.eurprd08.prod.outlook.com (2603:10a6:208:157::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.14; Wed, 7 Aug 2019 14:09:55 +0000 Received: from AM5EUR03FT057.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::203) by VI1PR08CA0177.outlook.office365.com (2603:10a6:800:d1::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.16 via Frontend Transport; Wed, 7 Aug 2019 14:09:54 +0000 Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT057.mail.protection.outlook.com (10.152.17.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.18 via Frontend Transport; Wed, 7 Aug 2019 14:09:53 +0000 Received: ("Tessian outbound 1e6e633a5b56:v26"); Wed, 07 Aug 2019 14:09:48 +0000 X-CR-MTA-TID: 64aa7808 Received: from 3ecb1d2e4fcf.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.6.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7D66B3B7-D691-48BA-BC0D-8D12C8D8CC71.1; Wed, 07 Aug 2019 14:09:43 +0000 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02lp2058.outbound.protection.outlook.com [104.47.6.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3ecb1d2e4fcf.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384); Wed, 07 Aug 2019 14:09:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NIEvXYfWFsi9QJa0qrAoz4cqSXtEtqKORSImJR8SZ2v0AkWAHV3rpsZu4gekxFoJbqkL8JkDCInz7opHxGtAWz/xNBGxBMtDd+7Kb9v0N02orOY458yMdbZOiceBeGTvtb6AQXYqq8p78hoWu053t21gsj8pp8kWEwf5SsEtOYa26ab7bZQvmm2QwjkCb7aSQj+ZI0+o5RV1o7OIOnigocMH3LsdmM05jHMzwKvKUauqY+2NPeKFFaDmM62NPl1nMDFfdB6/sKQ0+5NnjG5sNs7j/K1n0W797M0tWqpQY62Woemij3Vdji2w0ts/e55k3AQcpQiUExZQi1R7J9SKcA== 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-SenderADCheck; bh=d3gyu0udfFmEw0K2rKbR0p74mNLZh3IdICO454g8HLQ=; b=FPXYPq/XYSLhBXxG8B4iyaCkkXOVeYrVKHNSXSpKtc/O2jBRQE7YrxQQyMIRiAzjnPFMslMwbpMkAWQcPfWFH6bxmsP2emn3bfl3Xx2v45ff0xrBKxwe6yOY93ZGXV+bCcCyBwalCMzie1XLsUptlkQ4MG5hAcYyN4DscYHjIZyACLFbdgbL9Askn+rJSCWZPTu+EEAe8LiqE5DMpxPz4nlz2WF1xVEK6vFDPz12Tv6pmoMmSuHNQBR5x6Y66gdRIRHoFidm658EsM+stZjAPBl78aTnhQ3xcoIG1Iodv/6NAagsNCw7PiwKWoI3qas50pEdiCX+EaclGCsn0zJ3Fw== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=arm.com;dmarc=pass action=none header.from=arm.com;dkim=pass header.d=arm.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d3gyu0udfFmEw0K2rKbR0p74mNLZh3IdICO454g8HLQ=; b=EkBUO50sRnRaqcsB1jQWViAmnWTRXgBH+4aXlUlcoxhH+3EU/GSkWNy6zI3Z2ErCjtf+c/9yH4yESa87Q6S1xoX+vy2sCspP2FofYQFTd14bUOT9PKV5cpCuTQNzOUu4BUaqKenY7ejYZyM27k5V5lMEFA/9ZpubEZc/RCAxmIY= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) by VE1PR08MB5278.eurprd08.prod.outlook.com (20.179.31.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.12; Wed, 7 Aug 2019 14:09:39 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::a8af:a9b8:4597:4128]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::a8af:a9b8:4597:4128%3]) with mapi id 15.20.2136.018; Wed, 7 Aug 2019 14:09:39 +0000 From: Honnappa Nagarahalli To: Gagandeep Singh , "thomas@monjalon.net" CC: David Marchand , dev , "Burakov, Anatoly" , Olivier Matz , Andrew Rybchenko , "Nipun.gupta@nxp.com" , Honnappa Nagarahalli , nd , nd Thread-Topic: [dpdk-dev] [PATCH] eal: change max hugepage sizes to 4 Thread-Index: AdVNHj9/AhAZfjvsT6Gj7tUvv0gPagACys+A Date: Wed, 7 Aug 2019 14:09:39 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 734f0a1c-d9cf-45a1-be0c-8de5dec44936.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: e69ddbaf-c996-4ca4-2551-08d71b40eb0c X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam-Untrusted: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR08MB5278; X-MS-TrafficTypeDiagnostic: VE1PR08MB5278:|AM0PR08MB4945: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:1728;OLM:1728; x-forefront-prvs: 01221E3973 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(366004)(189003)(199004)(498600001)(25786009)(5660300002)(53936002)(3846002)(2501003)(14454004)(110136005)(6246003)(6116002)(54906003)(66066001)(86362001)(2906002)(8936002)(4326008)(256004)(7736002)(229853002)(305945005)(8676002)(66446008)(66556008)(66476007)(64756008)(186003)(446003)(81156014)(81166006)(9686003)(26005)(11346002)(7696005)(476003)(55016002)(76176011)(76116006)(53546011)(102836004)(486006)(6506007)(66946007)(68736007)(71200400001)(99286004)(33656002)(6436002)(74316002)(71190400001)(52536014); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB5278; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info-Original: lnLwEIFjgYZnCnV/pXOuQS3r9huirwPVA3EcZoTXrPFDXzKTyR7C9kactAXyMa/nfgQLeCuTr7+MHoya9IO2rV5Dcw+/GC5grKaecvLKohzB7aXatII1CdoPN2dZW8DI9olQb8flGJPNSbU8uRqTBqpLyvsDRSvyREBameR7socZPLCXP33oIOIHQaPvGmxfHOUsFnswiOoK9PV58qpjW2j8XYx9izlmB6O7FF1xrculy6D58gKZbbXYE6Ki3Bu95wetBewf8qDXcU0gvU7WLc5Rz88daGMTC2mAC7eLYnsNcH2oIx7EALIBSSrtd11u5PtKu2HiQjIiBYnDMQwUeDNtcXYTOCTUBzdCwqF0YjMxbQ7VhyWLTN763Dm436M6b9O4lFsTj2gB7IWU2wc17e/6jgfXoPAaWdj+h/xiGQU= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5278 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT057.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(346002)(376002)(39860400002)(2980300002)(189003)(199004)(6506007)(26005)(6116002)(7696005)(3846002)(23726003)(9686003)(316002)(47776003)(76176011)(55016002)(53546011)(102836004)(2501003)(7736002)(52536014)(70206006)(70586007)(305945005)(76130400001)(25786009)(8676002)(74316002)(81166006)(4326008)(14454004)(5660300002)(81156014)(86362001)(486006)(99286004)(126002)(11346002)(476003)(446003)(97756001)(186003)(229853002)(54906003)(50466002)(36906005)(63350400001)(63370400001)(66066001)(26826003)(356004)(6246003)(478600001)(2906002)(22756006)(110136005)(33656002)(46406003)(336012)(8936002)(8746002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4945; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:TempError; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 3901f85e-2e1b-4cd4-230c-08d71b40e2bc X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(710020)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:AM0PR08MB4945; NoDisclaimer: True X-Forefront-PRVS: 01221E3973 X-Microsoft-Antispam-Message-Info: 677ZUqn5aw62SHtON5kNVkJ73IWDze9Mft4eVQaUxUPLZexz3oCjd3tRix4wlyXsxyXO+28ePpRo6dzgNWV9N/sfuk12U2+YMmt1r7pjSEVFdCBs4FFe4QNBYKgpbJ02KtNBMFzXU7X2npXrJ7/J6vovrc+hhKoRnzeDlWNKz5CEziLlqNO9VjccbGn1pYL7cf15EBw0PRG2xNNjO03yUI/vjUUcQSIEEmYqdVZxUA27DB8hY73q6efT4KpsylCGJ5X9sYjGtcWuhq9j1bySPkY0iRmjPUnwyUSbN3Wzyp0ziY3sO/4/ANAPepUWIe8KsMadlIshytsUrr1WpyQfLj2HUcM6gGbIQA8CgGyqJCVH5FJzzGFMfnMpTedNdH9J/8Yx7Hdn7sQcFyvyuC6DiREp6uloMC28owvoZTP4aok= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2019 14:09:53.0732 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e69ddbaf-c996-4ca4-2551-08d71b40eb0c X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4945 Subject: Re: [dpdk-dev] [PATCH] eal: change max hugepage sizes to 4 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" =20 > Hi Thomas, >=20 > > 07/08/2019 14:00, David Marchand: > > > On Wed, Aug 7, 2019 at 12:26 PM Gagandeep Singh > > wrote: > > > > > > > > DPDK currently is supporting maximum 3 hugepage, sizes whereas > > > > system can support more than this e.g. > > > > 64K, 2M, 32M and 1G. > > > > > > You can mention ARM platform here, and that this issue starts with > > > kernel 5.2 (and I would try to mention this in the title as well). > > > This is better than an annotation that will be lost. > > > > > > > > > > Having these four hugepage sizes available to use by DPDK, which > > > > is valid in case of '--in-memory' EAL option or using 4 separate > > > > mount points for each hugepage size; > > > > hugepage_info_init() API reports an error. > > > > > > Can you describe what is the impact from a user point of view rather > > > than mentioning this internal function? > > > > Yes please, we need to understand how much it is critical. >=20 > It is critical for stacks like VPP which uses by default in-memory. > There stack would be broken on kernel 5.2 and above. > I will change the description to make it clear. >=20 > > Should we Cc stable@dpdk.org for backport? > yes >=20 > > Should it be merged at the last minute in 19.08? > If this is the only change, that we need to do (i.e. no dynamic allocatio= n), > then yes it can go. Would it make sense to keep this change to Arm platforms only as other plat= forms are not affected?