From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gianluca Guida Subject: [PATCH] set fast_emul to zero when emulating to an out-of-sync page. Date: Wed, 26 Nov 2008 17:08:20 +0000 Message-ID: <492D8284.3070109@eu.citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020106040300040705020809" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------020106040300040705020809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, a small missing thing on the original out of sync patch. No real bug, but it's better to correctly specify the path. Signed-off-by: Gianluca Guida --------------020106040300040705020809 Content-Type: text/x-patch; name="fast_emul.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fast_emul.patch" diff -r ab0c1bdede53 xen/arch/x86/mm/shadow/multi.c --- a/xen/arch/x86/mm/shadow/multi.c Wed Nov 26 11:14:26 2008 +0000 +++ b/xen/arch/x86/mm/shadow/multi.c Wed Nov 26 17:04:37 2008 +0000 @@ -2924,6 +2924,7 @@ static int sh_page_fault(struct vcpu *v, writes to an out of sync page. */ if ( mfn_valid(gmfn) && mfn_is_out_of_sync(gmfn) ) { + fast_emul = 0; v->arch.paging.last_write_emul_ok = 0; goto page_fault_slow_path; } --------------020106040300040705020809 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------020106040300040705020809--