From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH RFC v2 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling Date: Fri, 20 Nov 2015 08:32:58 -0800 Message-ID: <20151120083258.033e0498@xeon-e3> References: <1447984428-137897-1-git-send-email-zhihong.wang@intel.com> <1447984428-137897-3-git-send-email-zhihong.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Zhihong Wang Return-path: Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by dpdk.org (Postfix) with ESMTP id E70CB3979 for ; Fri, 20 Nov 2015 17:32:45 +0100 (CET) Received: by pacej9 with SMTP id ej9so120877570pac.2 for ; Fri, 20 Nov 2015 08:32:45 -0800 (PST) In-Reply-To: <1447984428-137897-3-git-send-email-zhihong.wang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 19 Nov 2015 20:53:48 -0500 Zhihong Wang wrote: > The kernel fills new allocated (huge) pages with zeros. > DPDK just has to touch the pages to trigger the allocation. > > Signed-off-by: Zhihong Wang The code is correct, and optimized. Don't you need to update the commit message since you no longer have to touch the pages.