Andreas Schultz faf62c8b20 vlib: convert frame_index into real pointers
The fast path almost always has to deal with the real
pointers. Deriving the frame pointer from a frame_index requires a
load of the 32bit frame_index from memory, another 64bit load of the
heap base pointer and some calculations.

Lets store the full pointer instead and do a single 64bit load only.

This helps avoiding problems when the heap is grown and frames are
allocated below vm->heap_aligned_base.

Type: refactor
Change-Id: Ifa6e6e984aafe1e2755bff80f0a4dfcddee3623c
Signed-off-by: Andreas Schultz <andreas.schultz@travelping.com>
Signed-off-by: Dave Barach <dave@barachs.net>
(cherry picked from commit 58b2eb1af562c292feb6d3cdce4656746e61da75)
2019-10-30 20:42:38 +00:00
..
2019-04-08 20:29:16 +00:00
2019-03-28 08:18:57 +00:00
2019-04-08 20:29:16 +00:00
2019-03-25 14:43:37 +00:00
2019-07-24 08:14:39 -04:00
2019-03-28 08:18:57 +00:00