From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=QnxQQJLBH+Lcyw+AXzl7L87uBQxo1fdwh0T2Q1fk5hw=; b=B+0RXFekaxX8GDfgeVViLPGs3LZmLELM5FUTVSwq1dUSPiX0uJdHk+IxgoCjn6OSrs 2q0PZeYucXJx0vPm3mEReK0aK/o86Rw1tyNKOYob08LpcOV505oxUGNm+HtV4xux0NWp 34tqsIQN0pHM1s0PWnXLb6OT5ZyEr7yF8N0ckoTElWInz/MVCRrb2dO51J39AWLWuQ9d bI5do+nNnoCPtjR5nkVw9tn8TeyqfYUiTEbm5srM4U6Uxl1AXphSeaHImt4lFP+RG97o kjkMbulGEx9cJdkxe5ArGvwxWM9kcABC0fu5oS5DKRbzYddsnoECsuQDDdXGHg5onA6M BJcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=QnxQQJLBH+Lcyw+AXzl7L87uBQxo1fdwh0T2Q1fk5hw=; b=aWaBlyDFQmHA4K3VNYmctslsPwlzKe7XaWsfSHlmd0KKJAfaKSmkGkQHsSa19+kA16 jNPZ9gEfhGfk/RRgRUR8/Bsv9kgTcuOjytq9EqOH4FimZ8LUr/B6HioyTHCf9LMN4Fd7 g9ht5LvUwHSoVueRuAtzyR7WcvnSTLRJhCkB+Ra3hOHqRkxvR/iQzVPCkcxfNk0vX4dE 9vtkdccrCTJa9JgqvXABSjR1LPU3MUydaHEKoB3Z/LjPLbehSO5J5exo8+/UfDWiMZTV fAgAkCrN2JOOCe4qVaMY6+rFYXZCkE3hebWWG1lWT2xEMWX7pmtXLH7FMJwdziu5zvai M1hw== X-Gm-Message-State: ALoCoQkSb6+DveMwtceYOQ243OF7RqW58I+S1PXkbsnLaZia5j7hxazpPA3zoshjwHm/HEgwyGeQ X-Received: by 10.68.195.129 with SMTP id ie1mr20616822pbc.100.1448037165349; Fri, 20 Nov 2015 08:32:45 -0800 (PST) Received: from xeon-e3 (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id rz10sm268882pac.29.2015.11.20.08.32.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Nov 2015 08:32:45 -0800 (PST) Date: Fri, 20 Nov 2015 08:32:58 -0800 From: Stephen Hemminger To: Zhihong Wang Message-ID: <20151120083258.033e0498@xeon-e3> In-Reply-To: <1447984428-137897-3-git-send-email-zhihong.wang@intel.com> 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 Subject: Re: [dpdk-dev] [PATCH RFC v2 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 16:32:46 -0000 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.