Re: [kvm-devel] [PATCH]Try to make some code simplications allowed by the mutex use

2007-09-09 Thread Avi Kivity
Laurent Vivier wrote: > Try to make some code simplifications allowed by the use of a mutex instead > of a > spinlock. 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 kv

[kvm-devel] [PATCH]Try to make some code simplications allowed by the mutex use

2007-08-30 Thread Laurent Vivier
Try to make some code simplifications allowed by the use of a mutex instead of a spinlock. 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