unicorn/include
Peter Lieven 799bf1c3a5
exec: avoid realloc in phys_map_node_reserve
this is the first step in reducing the brk heap fragmentation
created by the map->nodes memory allocation. Since the introduction
of RCU the freeing of the PhysPageMaps is delayed so that sometimes
several hundred are allocated at the same time.

Even worse the memory for map->nodes is allocated and shortly
afterwards reallocated. Since the number of nodes it grows
to in the end is the same for all PhysPageMaps remember this value
and at least avoid the reallocation.

The large number of simultaneous allocations (about 450 x 70kB in
my configuration) has to be addressed later.

Backports commit 101420b886eec36990419bc9ed5b503622af8a0d from qemu
2018-02-25 19:32:40 -05:00
..
unicorn aarch64: Add FPCR and FPSR registers 2018-01-16 17:37:47 +00:00
list.h
qemu.h include: Move RAMList to ramlist.h 2018-02-20 08:47:51 -05:00
uc_priv.h exec: avoid realloc in phys_map_node_reserve 2018-02-25 19:32:40 -05:00