From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] EAL: Take reserved hugepages into account Date: Wed, 16 Apr 2014 20:22:57 -0700 Message-ID: <20140416202257.3248ee38@nehalam.linuxnetplumber.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev-VfR2kkLFssw@public.gmane.org" To: "Burakov, Anatoly" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Wed, 16 Apr 2014 11:11:12 +0000 "Burakov, Anatoly" wrote: > Some applications reserve hugepages for later use, but DPDK doesn't take reserved pages into account when calculating number of available number of hugepages. This patch adds reading from "resv_hugepages" file in addition to "free_hugepages". > --- > lib/librte_eal/linuxapp/eal/eal_hugepage_info.c | 16 +++++++++++++++- > 1 file changed, 15 insertions(+), 1 deletion(-) Would it be worth using libhuge instead of doing heavy lifting in DPDK? >