Re: [dpdk-dev] [PATCH v3 2/3] mem: improve memory preallocation on 32-bit

2018-04-25 Thread Pattan, Reshma
> -Original Message- > From: Burakov, Anatoly > Sent: Tuesday, April 24, 2018 11:19 AM > To: dev@dpdk.org > Cc: Pattan, Reshma > Subject: [PATCH v3 2/3] mem: improve memory preallocation on 32-bit > > Previously, if we couldn't preallocate VA space on 32-bit for one page size, > we > s

[dpdk-dev] [PATCH v3 2/3] mem: improve memory preallocation on 32-bit

2018-04-24 Thread Anatoly Burakov
Previously, if we couldn't preallocate VA space on 32-bit for one page size, we simply bailed out, even though we could've tried allocating VA space with other page sizes. For example, if user had both 1G and 2M pages enabled, and has asked DPDK to allocate memory on both sockets, DPDK would've tr