[dpdk-dev] [PATCH] eal/bsd: enable contigmem blocks >1GB in size

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Mar 10 16:20:42 CET 2015


> 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 <bruce.richardson at intel.com>

Applied, thanks


More information about the dev mailing list