[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 13/13] cpu-exec: replace cpu->queued_work wit
From: |
Emilio G. Cota |
Subject: |
Re: [Qemu-devel] [PATCH v5 13/13] cpu-exec: replace cpu->queued_work with GArray |
Date: |
Tue, 2 Aug 2016 14:53:03 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, Aug 02, 2016 at 18:27:44 +0100, Alex Bennée wrote:
> Under times of high memory stress the additional small mallocs by a
> linked list are source of potential memory fragmentation. As we have
> worked hard to avoid mallocs elsewhere when queuing work we might as
> well do the same for the list. We convert the lists to a auto-resizeing
> GArray which will re-size in steps of powers of 2.
Would be nice to see numbers on how this compares to simply using
tcmalloc/jemalloc (or the glibc allocator, really).
Thanks,
Emilio
- [Qemu-devel] [PATCH v5 02/13] cpus: pass CPUState to run_on_cpu helpers, (continued)
- [Qemu-devel] [PATCH v5 02/13] cpus: pass CPUState to run_on_cpu helpers, Alex Bennée, 2016/08/02
- [Qemu-devel] [PATCH v5 04/13] cpus: Wrap mutex used to protect CPU work, Alex Bennée, 2016/08/02
- [Qemu-devel] [PATCH v5 03/13] cpus: Move common code out of {async_, }run_on_cpu(), Alex Bennée, 2016/08/02
- [Qemu-devel] [PATCH v5 07/13] linux-user: Rework exclusive operation mechanism, Alex Bennée, 2016/08/02
- [Qemu-devel] [PATCH v5 06/13] linux-user: Use QemuMutex and QemuCond, Alex Bennée, 2016/08/02
- [Qemu-devel] [PATCH v5 12/13] tcg: Make tb_flush() thread safe, Alex Bennée, 2016/08/02
- [Qemu-devel] [PATCH v5 10/13] bsd-user: Support CPU work queue, Alex Bennée, 2016/08/02
- [Qemu-devel] [PATCH v5 13/13] cpu-exec: replace cpu->queued_work with GArray, Alex Bennée, 2016/08/02
- [Qemu-devel] [PATCH v5 09/13] linux-user: Support CPU work queue, Alex Bennée, 2016/08/02
- [Qemu-devel] [PATCH v5 11/13] cpu-exec-common: Introduce async_safe_run_on_cpu(), Alex Bennée, 2016/08/02
- Re: [Qemu-devel] [PATCH v5 11/13] cpu-exec-common: Introduce async_safe_run_on_cpu(), Paolo Bonzini, 2016/08/27
- Re: [Qemu-devel] [PATCH v5 11/13] cpu-exec-common: Introduce async_safe_run_on_cpu(), Paolo Bonzini, 2016/08/29
- Re: [Qemu-devel] [PATCH v5 11/13] cpu-exec-common: Introduce async_safe_run_on_cpu(), Alex Bennée, 2016/08/31