[dpdk-dev] [PATCH] mem: get memzone from any CPU socket when hugepages are disabled

2013-07-26 Thread Thomas Monjalon
26/07/2013 16:56, Damien Millescamps : > On 07/26/2013 04:35 PM, Adrien Mazarguil wrote: > > When huge pages are disabled, memory is allocated for a single, undefined > > CPU socket using malloc(), causing rte_memzone_reserve_aligned() to fail > > most of the time. > > > > This patch causes that m

[dpdk-dev] [PATCH] mem: get memzone from any CPU socket when hugepages are disabled

2013-07-26 Thread Damien Millescamps
On 07/26/2013 04:35 PM, Adrien Mazarguil wrote: > When huge pages are disabled, memory is allocated for a single, undefined > CPU socket using malloc(), causing rte_memzone_reserve_aligned() to fail > most of the time. > > This patch causes that memory to use SOCKET_ID_ANY instead of 0, and allow >

[dpdk-dev] [PATCH] mem: get memzone from any CPU socket when hugepages are disabled

2013-07-26 Thread Adrien Mazarguil
When huge pages are disabled, memory is allocated for a single, undefined CPU socket using malloc(), causing rte_memzone_reserve_aligned() to fail most of the time. This patch causes that memory to use SOCKET_ID_ANY instead of 0, and allow it to be used in place of any socket ID specified by user.