Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vppinfra: remove the historical mheap memory allocator
[vpp.git]
/
src
/
vpp-api
/
client
/
client.c
diff --git
a/src/vpp-api/client/client.c
b/src/vpp-api/client/client.c
index
0579095
..
5dcca22
100644
(file)
--- a/
src/vpp-api/client/client.c
+++ b/
src/vpp-api/client/client.c
@@
-86,17
+86,6
@@
static void
vac_client_constructor (void)
{
clib_mem_init (0, 1 << 30);
vac_client_constructor (void)
{
clib_mem_init (0, 1 << 30);
-#if USE_DLMALLOC == 0
- {
- u8 *heap;
- mheap_t *h;
-
- heap = clib_mem_get_per_cpu_heap ();
- h = mheap_header (heap);
- /* make the main heap thread-safe */
- h->flags |= MHEAP_FLAG_THREAD_SAFE;
- }
-#endif
if (mem_trace)
clib_mem_trace (1);
}
if (mem_trace)
clib_mem_trace (1);
}