summaryrefslogtreecommitdiffstats
path: root/hw/virtio
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2014-09-23 18:42:24 +0800
committerMichael S. Tsirkin <mst@redhat.com>2014-09-29 19:44:04 +0300
commit28d16f38d0d5881f95b074cc802dae8cacc1bf58 (patch)
tree8d4e5bdacbf33c1645b83e4ce6b65d39e0edb9be /hw/virtio
parentfc50ff0666315be5120c70ad00cd0b0097484b84 (diff)
downloadhqemu-28d16f38d0d5881f95b074cc802dae8cacc1bf58.zip
hqemu-28d16f38d0d5881f95b074cc802dae8cacc1bf58.tar.gz
vl: Adjust the place of calling mlockall to speedup VM's startup
If we configure mlock=on and memory policy=bind at the same time, It will consume lots of time for system to treat with memory, especially when call mbind behind mlockall. Adjust the place of calling mlockall, calling mbind before mlockall can remarkably reduce the time of VM's startup. Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud