summary refs log tree commit diff stats
path: root/scripts/vmstate-static-checker.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-07-09 10:05:48 +0200
committerKevin Wolf <kwolf@redhat.com>2014-07-14 12:03:20 +0200
commit869d66af53d8e04709456c9cae5cca7c560d4b93 (patch)
tree557168fffc6368bc269bf49993839779286dba4b /scripts/vmstate-static-checker.py
parentabd764250fbce6f285513d74f03eb5c526e520f6 (diff)
downloadfocaccia-qemu-869d66af53d8e04709456c9cae5cca7c560d4b93.tar.gz
focaccia-qemu-869d66af53d8e04709456c9cae5cca7c560d4b93.zip
virtio-blk: avoid g_slice_new0() for VirtIOBlockReq and VirtQueueElement
In commit de6c8042ec55da18702fa51f09072fcaa315edc3 ("virtio-blk: Avoid
zeroing every request structure") we avoided the 40 KB memset when
allocating VirtIOBlockReq.

The memset was reintroduced in commit
671ec3f056559f22a2531a91dce3a258b9b5eb8a ("virtio-blk: Convert
VirtIOBlockReq.elem to pointer").

It must be fixed again to avoid a performance regression.

Cc: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions