From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 2/2] KVM: Convert read-only users of vm_list to RCU Date: Tue, 15 Feb 2011 10:32:02 -0200 Message-ID: <20110215123202.GA3731@amt.cnet> References: <4D512EF7.8040409@siemens.com> <4D512F3B.1080107@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , kvm , Zachary Amsden To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49826 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751534Ab1BON4Z (ORCPT ); Tue, 15 Feb 2011 08:56:25 -0500 Content-Disposition: inline In-Reply-To: <4D512F3B.1080107@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Feb 08, 2011 at 12:55:39PM +0100, Jan Kiszka wrote: > Only for walking the list of VMs, we do not need to hold the preemption > disabling kvm_lock. Convert stat services, the cpufreq callback and > mmu_shrink to RCU. For the latter, special care is required to > synchronize its list_move_tail with kvm_destroy_vm. > > Signed-off-by: Jan Kiszka Jan, What is the motivation for this change?