Re: [dpdk-dev] [PATCH 1/2] mem: add memalloc init stage

2018-04-24 Thread Bruce Richardson
On Thu, Apr 19, 2018 at 01:26:28PM +0100, Anatoly Burakov wrote: > Currently, memseg lists for secondary process are allocated on > sync (triggered by init), when they are accessed for the first > time. Move this initialization to a separate init stage for > memalloc. > > Signed-off-by: Anatoly Bu

[dpdk-dev] [PATCH 1/2] mem: add memalloc init stage

2018-04-19 Thread Anatoly Burakov
Currently, memseg lists for secondary process are allocated on sync (triggered by init), when they are accessed for the first time. Move this initialization to a separate init stage for memalloc. Signed-off-by: Anatoly Burakov --- lib/librte_eal/bsdapp/eal/eal_memalloc.c | 6 +++ lib/librte_e