From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] EAL: count nr_overcommit_hugepages as available Date: Thu, 28 Mar 2019 23:43:31 +0100 Message-ID: <28779132.a4QYXAbPlX@xps> References: <447Z3z1XpYz9d@rere.qmqm.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, "Burakov, Anatoly" , Ferruh Yigit To: =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= Return-path: 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) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.