From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id 6C6CBA0679
	for <public@inbox.dpdk.org>; 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 <dev@dpdk.org>; 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: <xms:FU6dXIpeKf1o18qLu61s6Ag9cA3vxcHlvmdUsORNcf7DtzfbmUJM4Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkeeggdduieeiucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf
 hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh
 ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:FU6dXJkwcxILGWF1BluK3OX8zxD5kLfhthTIeFJiUsnjCEQHrM_ijQ>
 <xmx:FU6dXML3hrVg2AkWjRYqCOZvKXB-dgm9ck407eZjOQYaPJabv5vhSA>
 <xmx:FU6dXEWGlwqzhHHLgD_SFaZh4aFyw1mzcYt921xr5-FAGZtYHn7UBA>
 <xmx:FU6dXIaZ5wq4YotH5A00jEn_Eec0oNiVnuvtFCPebFGKIOA1UiMNGw>
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 <thomas@monjalon.net>
To: =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= <mirq-linux@rere.qmqm.pl>
Cc: dev@dpdk.org, "Burakov, Anatoly" <anatoly.burakov@intel.com>,
 Ferruh Yigit <ferruh.yigit@intel.com>
Date: Thu, 28 Mar 2019 23:43:31 +0100
Message-ID: <28779132.a4QYXAbPlX@xps>
In-Reply-To: <afae87cb-04f2-a72e-0842-3e10d324fe70@intel.com>
References: <447Z3z1XpYz9d@rere.qmqm.pl>
 <afae87cb-04f2-a72e-0842-3e10d324fe70@intel.com>
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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
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 <michal.miroslaw@atendesoftware.pl>
> >=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 <michal.miroslaw@atendesoftwar=
e.pl>
> > ---
>=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 <anatoly.burakov@intel.com>

Applied, thanks

And thanks Ferruh for reminding to update this very old patch.