Re: [Qemu-devel] [PATCH 06/15] exec: use mmap for subpages

2016-06-28 Thread Paolo Bonzini
On 28/06/2016 11:01, Peter Lieven wrote: > a lot of subpages are created and freed at startup, but RCU delays > the freeing so the heap gets fragmented. > > Signed-off-by: Peter Lieven I agree that subpages are bad for malloc because they are large (> 4KiB). It is worth doing something specia

[Qemu-devel] [PATCH 06/15] exec: use mmap for subpages

2016-06-28 Thread Peter Lieven
a lot of subpages are created and freed at startup, but RCU delays the freeing so the heap gets fragmented. Signed-off-by: Peter Lieven --- exec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exec.c b/exec.c index 0122ef7..1b7be2a 100644 --- a/exec.c +++ b/exec.c @@ -