Module Name:    src
Committed By:   rmind
Date:           Sat Jun 18 21:18:20 UTC 2011

Modified Files:
        src/sys/arch/x86/x86: pmap.c

Log Message:
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@!


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 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.123 src/sys/arch/x86/x86/pmap.c:1.124
--- src/sys/arch/x86/x86/pmap.c:1.123	Mon Jun 13 04:30:40 2011
+++ src/sys/arch/x86/x86/pmap.c	Sat Jun 18 21:18:20 2011
@@ -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. */

Reply via email to