Module Name: src
Committed By: cherry
Date: Fri Feb 24 08:11:14 UTC 2012
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
kernel page attribute change should be reflected on all cpus, since
the page is going to be released after the _dtor() hook is called.
To generate a diff of this commit:
cvs rdiff -u -r1.170 -r1.171 src/sys/arch/x86/x86/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/x86/pmap.c
diff -u src/sys/arch/x86/x86/pmap.c:1.170 src/sys/arch/x86/x86/pmap.c:1.171
--- src/sys/arch/x86/x86/pmap.c:1.170 Thu Feb 23 18:59:21 2012
+++ src/sys/arch/x86/x86/pmap.c Fri Feb 24 08:11:14 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.170 2012/02/23 18:59:21 bouyer Exp $ */
+/* $NetBSD: pmap.c,v 1.171 2012/02/24 08:11:14 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.170 2012/02/23 18:59:21 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.171 2012/02/24 08:11:14 cherry Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -2172,7 +2172,7 @@ pmap_pdp_dtor(void *arg, void *v)
/* Set page RW again */
pte = kvtopte(object);
xpq_queue_pte_update(xpmap_ptetomach(pte), *pte | PG_RW);
- xpq_queue_invlpg((vaddr_t)object);
+ xpq_bcast_invlpg((vaddr_t)object);
}
splx(s);
#endif /* XEN */