From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 919A95953 for ; Fri, 26 Jul 2013 16:56:21 +0200 (CEST) Received: by mail-wi0-f176.google.com with SMTP id hn3so256418wib.9 for ; Fri, 26 Jul 2013 07:56:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:message-id:x-mailer:x-gm-message-state; bh=cP8LNmERSYL/Snw4HO7x+a1QjaMEge0jgLS/MpZ4vo0=; b=LhPxuQCcSev8877avKih9j6J+2VOlv6d4Q7NNtskGnPgwfzBMplbBsEtsIqQVeSZof UmA0GtJBMi7h1iohu/A4Zean/Qy42TKHBcVc06G51P3EhIEHEHz6LucMuoXWUvxiPI/H ZyVRnbH4RqPxDtEy1yx3dnZzS46qN2wFxMmR8KCb5rx8Xifjx/EIIoEGwkzwXuPKJzRQ Q4Z2bYl7Qxbv5TV1qt5KkfSlKtC1kVEdSNKWEzIk/Rw41e5vGs6wS8on+c/7qO0e4U5f K95AYNnxDqxHEKyOYbiFssmIQ3LtzuyQU7DqPUicRHXQH1/JOKehAcKnfrq2ah7tNOhK HILA== X-Received: by 10.194.240.169 with SMTP id wb9mr8220578wjc.90.1374850604468; Fri, 26 Jul 2013 07:56:44 -0700 (PDT) Received: from 6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id l2sm5262989wif.8.2013.07.26.07.56.40 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 26 Jul 2013 07:56:42 -0700 (PDT) Received: by 6wind.com (sSMTP sendmail emulation); Fri, 26 Jul 2013 16:56:39 +0200 From: Thomas Monjalon To: dev@dpdk.org Date: Fri, 26 Jul 2013 16:56:39 +0200 Message-Id: <1374850599-9790-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQnzlBBzVfi796bHiRiXoJoewK/g+8njhiYSn4f8AdPf6AXecTvoqFJBLyEZnoOg1PV8dVr2 Subject: [dpdk-dev] [PATCH] mem: fix log for --no-huge 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, 26 Jul 2013 14:56:21 -0000 In some cases, it is possible to not use hugepages. So a simple malloc is used to initialize DPDK memory. Signed-off-by: Thomas Monjalon --- lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c b/lib/librte_eal/linuxapp/eal/eal_memory.c index 1a05d66..e429438 100644 --- a/lib/librte_eal/linuxapp/eal/eal_memory.c +++ b/lib/librte_eal/linuxapp/eal/eal_memory.c @@ -1142,7 +1142,7 @@ rte_eal_memdevice_init(void) int rte_eal_memory_init(void) { - RTE_LOG(INFO, EAL, "Setting up hugepage memory...\n"); + RTE_LOG(INFO, EAL, "Setting up memory...\n"); const int retval = rte_eal_process_type() == RTE_PROC_PRIMARY ? rte_eal_hugepage_init() : rte_eal_hugepage_attach(); -- 1.7.10.4