Re: [dpdk-dev] [PATCH] mem: fix heap size not set on init

2018-04-30 Thread Thomas Monjalon
25/04/2018 15:42, Anatoly Burakov: > When heap initializes, we need to add already allocated segments > onto the heap. However, in doing that, we never increased total > heap size. Fix it by adding segment length to total heap length > when initializing the heap. > > Fixes: 66cc45e293ed ("mem: rep

[dpdk-dev] [PATCH] mem: fix heap size not set on init

2018-04-25 Thread Anatoly Burakov
When heap initializes, we need to add already allocated segments onto the heap. However, in doing that, we never increased total heap size. Fix it by adding segment length to total heap length when initializing the heap. Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") Cc: anatoly.bur