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-changelog

[Xen-changelog] [linux-2.6.18-xen] xen/i386: fix ordering in pte_free_ke

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen/i386: fix ordering in pte_free_kernel()
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Jul 2008 07:30:17 -0700
Delivery-date: Fri, 18 Jul 2008 07:31:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216376756 -3600
# Node ID f23e94e1c3352acc449d14cc119feec1506d341f
# Parent  2d2436c48e43bb721a2b7a04b49081dd30672d85
xen/i386: fix ordering in pte_free_kernel()

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 include/asm-i386/mach-xen/asm/pgalloc.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2d2436c48e43 -r f23e94e1c335 include/asm-i386/mach-xen/asm/pgalloc.h
--- a/include/asm-i386/mach-xen/asm/pgalloc.h   Fri Jul 18 11:25:07 2008 +0100
+++ b/include/asm-i386/mach-xen/asm/pgalloc.h   Fri Jul 18 11:25:56 2008 +0100
@@ -36,8 +36,8 @@ extern struct page *pte_alloc_one(struct
 
 static inline void pte_free_kernel(pte_t *pte)
 {
+       make_lowmem_page_writable(pte, XENFEAT_writable_page_tables);
        free_page((unsigned long)pte);
-       make_lowmem_page_writable(pte, XENFEAT_writable_page_tables);
 }
 
 extern void pte_free(struct page *pte);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen/i386: fix ordering in pte_free_kernel(), Xen patchbot-linux-2.6.18-xen <=