summary refs log tree commit diff stats
path: root/io/task.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-12-09 10:34:13 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-12-17 17:33:49 +0100
commit3cc8f884996584630734a90c9b3c535af81e3c92 (patch)
treee71d7f1db7792348e5496d6b4ca2622037081b44 /io/task.c
parent1619d1fe737d2af068aefe134386a69b76164794 (diff)
downloadfocaccia-qemu-3cc8f884996584630734a90c9b3c535af81e3c92.tar.gz
focaccia-qemu-3cc8f884996584630734a90c9b3c535af81e3c92.zip
memory: try to inline constant-length reads
memcpy can take a large amount of time for small reads and writes.
Handle the common case of reading s/g descriptors from memory (there
is no corresponding "write" case that is as common, because writes
often use address_space_st* functions) by inlining the relevant
parts of address_space_read into the caller.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'io/task.c')
0 files changed, 0 insertions, 0 deletions