summaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/main.h9
-rw-r--r--src/vlib/threads.c4
-rw-r--r--src/vlib/unix/main.c4
3 files changed, 0 insertions, 17 deletions
diff --git a/src/vlib/main.h b/src/vlib/main.h
index 2581d491019..1413158ad53 100644
--- a/src/vlib/main.h
+++ b/src/vlib/main.h
@@ -154,15 +154,6 @@ typedef struct vlib_main_t
/* Error marker to use when exiting main loop. */
clib_error_t *main_loop_error;
- /* Start of the heap. */
- void *heap_base;
-
- /* Truncated version, to create frame indices */
- void *heap_aligned_base;
-
- /* Size of the heap */
- uword heap_size;
-
/* buffer main structure. */
vlib_buffer_main_t *buffer_main;
diff --git a/src/vlib/threads.c b/src/vlib/threads.c
index e34ef7c30cb..567ba62891b 100644
--- a/src/vlib/threads.c
+++ b/src/vlib/threads.c
@@ -638,10 +638,6 @@ start_workers (vlib_main_t * vm)
sizeof (*vm_clone));
vm_clone->thread_index = worker_thread_index;
- vm_clone->heap_base = w->thread_mheap;
- vm_clone->heap_aligned_base =
- (void *) (((uword) w->thread_mheap) &
- ~(CLIB_CACHE_LINE_BYTES - 1));
vm_clone->pending_rpc_requests = 0;
vec_validate (vm_clone->pending_rpc_requests, 0);
_vec_len (vm_clone->pending_rpc_requests) = 0;
diff --git a/src/vlib/unix/main.c b/src/vlib/unix/main.c
index 0ebda240899..0b73597dab3 100644
--- a/src/vlib/unix/main.c
+++ b/src/vlib/unix/main.c
@@ -708,10 +708,6 @@ vlib_unix_main (int argc, char *argv[])
vgm->exec_path = vgm->name = argv[0];
vgm->argv = (u8 **) argv;
- vm->heap_base = clib_mem_get_heap ();
- vm->heap_aligned_base =
- (void *) (((uword) vm->heap_base) & ~(CLIB_CACHE_LINE_BYTES - 1));
- ASSERT (vm->heap_base);
clib_time_init (&vm->clib_time);
p;id=5afe1ff9542ba03daffb8c857c9977f2fad3e7d4'>10ge2p1x710-ethip4-ip4scale6m-rnd-ndrpdr.robot
blob: fa51eaa827e67d410bbed0c5fa9473423569d22d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144