WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] RE: [PATCH 1/2] Writable pagetable support for x86_64 xenlin

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH 1/2] Writable pagetable support for x86_64 xenlinux (xen part)
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Tue, 9 Aug 2005 00:59:16 -0700
Cc: Chris Wright <chrisw@xxxxxxxx>, "Li, Xin B" <xin.b.li@xxxxxxxxx>
Delivery-date: Tue, 09 Aug 2005 07:57:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWb76BZ4WTHlb8fQHi8faxLOhuStAAxh0Qg
Thread-topic: [PATCH 1/2] Writable pagetable support for x86_64 xenlinux (xen part)
Now _SMP_ x86_64 kernel works fine with writable pagetable!

This _additional_ patch ptwr-smp.patch (just a single line change,
effectively + minor bug fix) is required to get SMP kernel working. The
first patch (ptwr-xen.patch) is also attached for convenience. Once
these two are (ptwr-xen.patch & ptwr-smp.patch) applied to Xen, the
patch  for x86_64 xenlinux (already sent) is required to activate
writable pagetable.

One ugly code that I don't like is __not_mapped(l2_pgentry_t *pl2e). Any
idea for doing it better? 

I used a patch from Chris/Xin for the x86_64 SMP kernel. Probably he has
more updates there.

Nakajima, Jun wrote:
> Attached is a patch to xen. I would like thank Ian/Keir for the
> design suggestions. 
> 
>  arch/x86/audit.c              |   62 ++++++----
>  arch/x86/domain.c             |    6 -
>  arch/x86/mm.c                 |  238
>  ++++++++++++++++++++++++++++++------------ arch/x86/shadow32.c      
>  |    2 arch/x86/shadow_public.c      |    6 -
>  arch/x86/traps.c              |   11 +
>  common/grant_table.c          |    2
>  include/asm-x86/mm.h          |   28 +++-
>  include/asm-x86/page.h        |   27 ++--
>  include/asm-x86/shadow.h      |   13 +-
>  include/asm-x86/x86_64/page.h |    3
>  11 files changed, 271 insertions(+), 127 deletions(-)
> 
> Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx>
> 
> Jun
> ---
> Intel Open Source Technology Center


Jun
---
Intel Open Source Technology Center

Attachment: ptwr-smp.patch
Description: ptwr-smp.patch

Attachment: ptwr-xen.patch
Description: ptwr-xen.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>