From: Laurent Vivier Date: Thu, 30 Aug 2007 12:56:21 +0000 (+0200) Subject: KVM: Simplify memory allocation X-Git-Tag: v2.6.24-rc1~1365^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d8d2bd4f20c8a2a254b4fe3bc114f12214a6d73;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed