Anatoly Burakov 3eb9af3416 malloc: fix heap size not set on init
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")

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
2018-04-30 15:33:49 +02:00
..
2018-04-15 15:07:11 +02:00
2018-04-18 00:37:05 +02:00
2018-04-17 16:40:09 +02:00
2018-04-27 18:01:00 +01:00