From: Gianluca Guida <gianluca.guida@eu.citrix.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: [PATCH] x86 shadow: disable fast np path in OOS.
Date: Fri, 03 Jul 2009 14:52:47 +0100 [thread overview]
Message-ID: <4A4E0D2F.3020109@eu.citrix.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 130 bytes --]
As discussed, this patch disables fast NP path when OOS is enabled.
Signed off by: Gianluca Guida <gianluca.guida@eu.citrix.com>
[-- Attachment #2: disable-fastgnp.patch --]
[-- Type: text/x-diff, Size: 587 bytes --]
diff -r 7397608bce87 xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c Mon Jun 29 15:50:32 2009 +0100
+++ b/xen/arch/x86/mm/shadow/multi.c Fri Jul 03 14:49:37 2009 +0100
@@ -494,11 +494,13 @@
if ( unlikely(!(gflags & _PAGE_PRESENT)) )
{
+#if !(SHADOW_OPTIMIZATIONS & SHOPT_OUT_OF_SYNC)
/* If a guest l1 entry is not present, shadow with the magic
* guest-not-present entry. */
if ( level == 1 )
*sp = sh_l1e_gnp();
else
+#endif /* !OOS */
*sp = shadow_l1e_empty();
goto done;
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2009-07-03 13:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-03 13:52 Gianluca Guida [this message]
2009-07-03 22:52 ` [PATCH] x86 shadow: disable fast np path in OOS Frank van der Linden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A4E0D2F.3020109@eu.citrix.com \
--to=gianluca.guida@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.