From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id CA6883772 for ; Wed, 15 Jul 2015 14:30:20 +0200 (CEST) Received: by wicmv11 with SMTP id mv11so39442845wic.1 for ; Wed, 15 Jul 2015 05:30:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=AyFwM2PcPs7Y2Ah6mK/GAz3EtUorA1rspAR8bOBTYjk=; b=iX6ostcHqizv+ageChI/v4p+AFue5nFNsr18ISPG7Y+jEh3TK8Nx62FtN/vt3AmDOI iLjF+VX1vkqq43GUGDrECj7jZKUuVLhRGwt6OGe1YeqDS5ubl+PYgZ0myCuOvwc1irwm iUm4T3LCiKO8c/Zpf/hL0mGZKkch2wg4nbHRI3bNh9kzILIlXO9e9uDK85DAiud0OTvL OUN5V0r4NVN5I4cZ1oIFX/6RCEdFLXSFy/6uNu0bsPBkAMPS+sgX7CVIQVJQFQlHU2Xm LoMgdE8LHR70UwgUtdQqR1IPxhy6Thndz0q8KhYjDjyWD3yIsG0FwFgWhCRNYpyX16GM Cf6g== X-Gm-Message-State: ALoCoQmQ3LtS0e9YrQRNyIp67ASe0t6p+laWT8cBLeExcM751rNw3Oaufy8JAIUdOut9L6R55E0d X-Received: by 10.194.87.102 with SMTP id w6mr7751655wjz.111.1436963419471; Wed, 15 Jul 2015 05:30:19 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.151.210]) by smtp.gmail.com with ESMTPSA id ib9sm7724908wjb.2.2015.07.15.05.30.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jul 2015 05:30:18 -0700 (PDT) From: Thomas Monjalon To: Sergio Gonzalez Monroy Date: Wed, 15 Jul 2015 14:29:06 +0200 Message-ID: <2359188.Y6ooEyjIjq@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1436955120-5548-1-git-send-email-sergio.gonzalez.monroy@intel.com> References: <1436955120-5548-1-git-send-email-sergio.gonzalez.monroy@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: set hugepgae_sz to 4KB when using --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: Wed, 15 Jul 2015 12:30:21 -0000 2015-07-15 11:12, Sergio Gonzalez Monroy: > After code rework from bellow commit, logic expects hugepage_sz field to > always be set (ie. not zero value). > When using --no-huge, this field was left unset defaulting to zero. > > Set hugepage_sz to RTE_PGSIZE_4K when using --no-huge. > > Fixes: b3dfffd962ecd ("mem: allow multiple page sizes to be requested") > > Signed-off-by: Sergio Gonzalez Monroy Applied, thanks