Re: [dpdk-dev] [PATCH v3 3/3] mem: improve autodetection of hugepage counts on 32-bit

2018-04-27 Thread Thomas Monjalon
> > For non-legacy mode, we are preallocating space for hugepages, so we know > > in advance which pages we will be able to allocate, and which we won't. > > However, the init procedure was using hugepage counts gathered from sysfs > > and paid no attention to hugepage sizes that were actually avai

Re: [dpdk-dev] [PATCH v3 3/3] mem: improve autodetection of hugepage counts 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 3/3] mem: improve autodetection of hugepage counts on > 32-bit > > For non-legacy mode, we are preallocating space for hugepages, so we kno

[dpdk-dev] [PATCH v3 3/3] mem: improve autodetection of hugepage counts on 32-bit

2018-04-24 Thread Anatoly Burakov
For non-legacy mode, we are preallocating space for hugepages, so we know in advance which pages we will be able to allocate, and which we won't. However, the init procedure was using hugepage counts gathered from sysfs and paid no attention to hugepage sizes that were actually available for reserv