Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 Revert previous since it does a redundant x...



details:   https://anonhg.NetBSD.org/src/rev/f79fecf0896c
branches:  trunk
changeset: 777618:f79fecf0896c
user:      cherry <cherry%NetBSD.org@localhost>
date:      Sat Feb 25 20:03:58 2012 +0000

description:
Revert previous since it does a redundant xpq queue flush.
xen_bcast_invlpg() flushes the queue for us.

diffstat:

 sys/arch/x86/x86/pmap.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 72883b2115a0 -r f79fecf0896c sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c   Sat Feb 25 19:32:27 2012 +0000
+++ b/sys/arch/x86/x86/pmap.c   Sat Feb 25 20:03:58 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.175 2012/02/25 19:32:27 cherry Exp $        */
+/*     $NetBSD: pmap.c,v 1.176 2012/02/25 20:03:58 cherry Exp $        */
 
 /*-
  * Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.175 2012/02/25 19:32:27 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.176 2012/02/25 20:03:58 cherry Exp $");
 
 #include "opt_user_ldt.h"
 #include "opt_lockdebug.h"
@@ -2168,7 +2168,6 @@
                /* Set page RW again */
                pte = kvtopte(object);
                pmap_pte_set(pte, *pte | PG_RW);
-               pmap_pte_flush();
                xen_bcast_invlpg((vaddr_t)object);
        }
        splx(s);



Home | Main Index | Thread Index | Old Index