From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 6C6CBA0679 for ; Thu, 28 Mar 2019 23:43:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 719292BF4; Thu, 28 Mar 2019 23:43:36 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id B30811DB8 for ; Thu, 28 Mar 2019 23:43:34 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B801E226D3; Thu, 28 Mar 2019 18:43:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 28 Mar 2019 18:43:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=jRqWRQFngQtiSK2Ya53uE43hpiKMQ/voXdnss3Ys9Q4=; b=MiWLbrq8xmdh eUCA81Al8yQ40/zrH1xVt5nz+k7yeHrF3s6QqEXIqnFDBb2zl56pYrcn5yRV5APh INe2dWGrNnHm4aSkSxDbI88z2YInFk9bMubff372tPfOGxOIJ3WZRFgLb0kqGccg PybDf2yAqa2KqNgeIlxko523BB7/Zh0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=jRqWRQFngQtiSK2Ya53uE43hpiKMQ/voXdnss3Ys9 Q4=; b=oItXSEAfYKurgAY/L0lqmvGKpdwvtspMdtNu11RGic5vaLa+NqsumgyyP GNaguLG6i8kYmIBGlgar+0hysYLkG9ZwYiTztvJHSDVnC/avkYMQFST4o49pyxwk k4swcLsWIi7Q3mYDL0MaUPvUpndBuhr0JSYXLrkEfsXdmP6X3dyCqwasN6DLKt7z e9D87mMhfN2n+1Q6R5mRBkZVx//TC1fZNKDBFf54/8CrpyjlD6FyAdtRh7RshSUP xWRC4Y3mIlVGRdeOmKm6BtUoWOMjhq/uZD1pcZ1W5X7FiZyX526331SjbPGvoaOx NRUo8jVEpBnM6Z1FWutovGbEp2WZA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkeeggdduieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 66DB4E4805; Thu, 28 Mar 2019 18:43:32 -0400 (EDT) From: Thomas Monjalon To: =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= Cc: dev@dpdk.org, "Burakov, Anatoly" , Ferruh Yigit Date: Thu, 28 Mar 2019 23:43:31 +0100 Message-ID: <28779132.a4QYXAbPlX@xps> In-Reply-To: References: <447Z3z1XpYz9d@rere.qmqm.pl> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] EAL: count nr_overcommit_hugepages as available 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" Message-ID: <20190328224331.2kxfOezqrQQzSGQ-qsX1MMJVNKVf1EULfPgrxlvmbYY@z> 19/03/2019 14:52, Burakov, Anatoly: > On 25-Feb-19 8:57 PM, Micha=C5=82 Miros=C5=82aw wrote: > > From: Micha=C5=82 Miros=C5=82aw > >=20 > > With nr_overcommit_hugepages > 0 application may be able to allocate > > hugepages even when free_hugepages =3D=3D 0. Take this into account when > > counting available hugepages. > >=20 > > Signed-off-by: Micha=C5=82 Miros=C5=82aw > > --- >=20 > Surplus pages go back at least as far as 2009, and as far as i can tell,= =20 > the patch works under any conditions i thought to throw at it, and=20 > doesn't break anything else. So... >=20 > Reviewed-by: Anatoly Burakov Applied, thanks And thanks Ferruh for reminding to update this very old patch.