commit | c63e2a4f980e09b4274558f0562cee285f9741b5 | [log] [tgz] |
---|---|---|
author | Damjan Marion <damarion@cisco.com> | Wed Sep 16 21:36:00 2020 +0200 |
committer | Andrew Yourtchenko <ayourtch@gmail.com> | Thu Sep 17 10:38:23 2020 +0000 |
tree | aff372a95841fcb4d00e9f67298497fe858f6224 | |
parent | f6e6c788070e1421bbe7b10d449d9b65918ba561 [diff] [blame] |
vppinfra: detect memory attributes on clib_mem_init Type: improvement Change-Id: I298aadfdf17d98dfb1ada1ec4f87e0821e6aeb7f Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vppinfra/mem_dlmalloc.c b/src/vppinfra/mem_dlmalloc.c index 2cd924a..0401df5 100644 --- a/src/vppinfra/mem_dlmalloc.c +++ b/src/vppinfra/mem_dlmalloc.c
@@ -201,6 +201,8 @@ { u8 *heap; + clib_mem_main_init (); + if (memory) { heap = create_mspace_with_base (memory, memory_size, 1 /* locked */ );