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 Burakov <anatoly.bura...@intel.com> > --- > lib/librte_eal/bsdapp/eal/eal_memalloc.c | 6 +++ > lib/librte_eal/common/eal_common_memory.c | 3 ++ > lib/librte_eal/common/eal_memalloc.h | 3 ++ > lib/librte_eal/linuxapp/eal/eal_memalloc.c | 66 > ++++++++++++++++++------------ > 4 files changed, 52 insertions(+), 26 deletions(-) > Looks ok to me.
Acked-by: Bruce Richardson <bruce.richard...@intel.com>