From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Arcangeli Subject: Re: [PATCH v8 13/15] ARM: KVM: Handle guest faults in KVM Date: Wed, 20 Jun 2012 19:49:27 +0200 Message-ID: <20120620174927.GE4954@redhat.com> References: <20120615190553.24590.18391.stgit@ubuntu> <20120615190908.24590.95861.stgit@ubuntu> <4FDF30E3.5040506@redhat.com> <4FE04716.6090202@redhat.com> <20120619104114.GM4633@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , android-virt@lists.cs.columbia.edu, kvm@vger.kernel.org, Marc Zyngier To: Christoffer Dall Return-path: Received: from mx1.redhat.com ([209.132.183.28]:62198 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756750Ab2FTRth (ORCPT ); Wed, 20 Jun 2012 13:49:37 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jun 20, 2012 at 11:13:36AM -0400, Christoffer Dall wrote: > ah, we don't do things right, we use gfn_to_pfn() flat out and will > always break the COW :) > > I guess now, when change_pte is a nop, it's outright incorrect if > anyone runs KSM. > > This has just been added to my todo-list. Great. Either implement change_pte, or use gfn_to_pfn_async(write_fault=0) for read faults.