From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal/bsd: enable contigmem blocks >1GB in size Date: Tue, 10 Mar 2015 16:20:42 +0100 Message-ID: <3677471.unIfMzbphE@xps13> References: <1425314060-2072-1-git-send-email-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Bruce Richardson Return-path: In-Reply-To: <1425314060-2072-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > 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