Avoid unnecessary object_ref/unref and rcu_read_lock/unlock. Inline constant-length reads to avoid variable-sized memcpy.
Paolo Paolo Bonzini (8): exec: always call qemu_get_ram_ptr within rcu_read_lock exec: make qemu_ram_ptr_length more similar to qemu_get_ram_ptr memory: reorder MemoryRegion fields memory: avoid unnecessary object_ref/unref memory: split address_space_read and address_space_write memory: extract first iteration of address_space_read and address_space_write memory: inline a few small accessors memory: try to inline constant-length reads exec.c | 334 +++++++++++++++++++++++++++--------------------- include/exec/memory.h | 136 +++++++++++++++----- include/exec/ram_addr.h | 1 - memory.c | 62 ++++----- 4 files changed, 315 insertions(+), 218 deletions(-) -- 2.5.0