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 pmap_page_remove: perform TLB shootdown, as...
details: https://anonhg.NetBSD.org/src/rev/945ab5be9045
branches: trunk
changeset: 766211:945ab5be9045
user: rmind <rmind%NetBSD.org@localhost>
date: Sat Jun 18 21:18:20 2011 +0000
description:
pmap_page_remove: perform TLB shootdown, as it is not caller's responsibility
to perform pmap_update() according to the interface. Might want to revisit.
Should fix recently reported tmpfs problems. Thanks to enami@ and hannken@!
diffstat:
sys/arch/x86/x86/pmap.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 1c144230c4ec -r 945ab5be9045 sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c Sat Jun 18 21:17:28 2011 +0000
+++ b/sys/arch/x86/x86/pmap.c Sat Jun 18 21:18:20 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.123 2011/06/13 04:30:40 tls Exp $ */
+/* $NetBSD: pmap.c,v 1.124 2011/06/18 21:18:20 rmind 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.123 2011/06/13 04:30:40 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.124 2011/06/18 21:18:20 rmind Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -3532,6 +3532,7 @@
killlist = pve;
}
}
+ pmap_tlb_shootnow();
kpreempt_enable();
/* Now free unused pvs. */
Home |
Main Index |
Thread Index |
Old Index