summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/paging_tmpl.h
diff options
context:
space:
mode:
authorLaurent Vivier2007-08-30 14:56:21 +0200
committerAvi Kivity2007-10-13 10:18:27 +0200
commit0d8d2bd4f20c8a2a254b4fe3bc114f12214a6d73 (patch)
treeca8234bdcb71b7cc0955ef89ae5b028d19ca709e /drivers/kvm/paging_tmpl.h
parentKVM: Hoist SVM's get_cs_db_l_bits into core code. (diff)
downloadkernel-qcow2-linux-0d8d2bd4f20c8a2a254b4fe3bc114f12214a6d73.tar.gz
kernel-qcow2-linux-0d8d2bd4f20c8a2a254b4fe3bc114f12214a6d73.tar.xz
kernel-qcow2-linux-0d8d2bd4f20c8a2a254b4fe3bc114f12214a6d73.zip
KVM: Simplify memory allocation
The mutex->splinlock convertion alllows us to make some code simplifications. As we can keep the lock longer, we don't have to release it and then have to check if the environment has not been modified before re-taking it. We can remove kvm->busy and kvm->memory_config_version. Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/paging_tmpl.h')
0 files changed, 0 insertions, 0 deletions