From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 52B9D683D for ; Tue, 10 Mar 2015 16:21:18 +0100 (CET) Received: by wghk14 with SMTP id k14so2617738wgh.3 for ; Tue, 10 Mar 2015 08:21:18 -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=s66CKSsi0O8XVqeah4nxq8gtfvuH4AKgGu8Z4p2HRFA=; b=Dacu1L7w07uVm6U1vnv+zOrX7xwx3HOme09wq7IPhQJuzNufjvZMLlnd969xBLQgdb oVVe7x+81pO8P9uPJkHEnyzLX7+Opq/IlzYhycR4HIVA9iGPjtYO1e5c+IWZm6m9WQLJ 8hntGkCx9pJV+06FuEtLT0lC8yRD+asx7Hj4YuQegDScUO7QlZRzrM7k58bJgi7OS/6A m1ruagIJIWko/4NTXFnYLWfRLu/4EGeRyNQKSyK81lP9K+MpvpbRUbsePKuGQuwBON3Z u6IogSDJv+Bs5IzsAFLv8eAxnxaQeULAG9Zn+EcWfPoLFDoMQjFcCywxD/GdSeRsMUld YaLQ== X-Gm-Message-State: ALoCoQmIV79ybpRO7EsrgIWBv+TsaY4j6uHVewWvZepEMt7b/RUXfdIjD8ui8uqc+dHR/HBV2Hx/ X-Received: by 10.180.211.206 with SMTP id ne14mr111991267wic.79.1426000878132; Tue, 10 Mar 2015 08:21:18 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ha10sm1299660wjc.37.2015.03.10.08.21.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Mar 2015 08:21:17 -0700 (PDT) From: Thomas Monjalon To: Bruce Richardson Date: Tue, 10 Mar 2015 16:20:42 +0100 Message-ID: <3677471.unIfMzbphE@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <1425314060-2072-1-git-send-email-bruce.richardson@intel.com> References: <1425314060-2072-1-git-send-email-bruce.richardson@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/bsd: enable contigmem blocks >1GB in size 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: Tue, 10 Mar 2015 15:21:18 -0000 > The contigmem module was using an "int" type for specifying the > size of blocks of memory to be reserved. A 2GB block was therefore > overflowing the signed 32-bit value, making 1GB the largest block > size that could be reserved as a single unit. > The fix is to change the type used for the buffer/block size to > an "int64_t" value. > > Signed-off-by: Bruce Richardson Applied, thanks