From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Qemu-devel] [RFC] New thread for the VM migration Date: Thu, 14 Jul 2011 19:59:03 +0300 Message-ID: <4E1F2057.3090608@redhat.com> References: <1447945249.1317755.1310627692984.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> <4E1EAA72.1060103@redhat.com> <4E1EE183.5050100@codemonkey.ws> <4E1EE1F2.5020801@redhat.com> <4E1F1E33.6010305@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Umesh Deshpande , qemu-devel@nongnu.org, kvm@vger.kernel.org To: Anthony Liguori Return-path: Received: from mx1.redhat.com ([209.132.183.28]:38972 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755337Ab1GNQ7L (ORCPT ); Thu, 14 Jul 2011 12:59:11 -0400 In-Reply-To: <4E1F1E33.6010305@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: On 07/14/2011 07:49 PM, Anthony Liguori wrote: > > I think a reference count based approach is really the only sane thing > to do and if we did that, it wouldn't be a problem since the reference > would be owned by the I/O thread and would live until the migration > thread is done with the VA. > I was thinking about RCU. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.