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@!
This commit is contained in:
parent
dcbb41139e
commit
e43016c1ed
|
@ -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 @@ startover:
|
|||
killlist = pve;
|
||||
}
|
||||
}
|
||||
pmap_tlb_shootnow();
|
||||
kpreempt_enable();
|
||||
|
||||
/* Now free unused pvs. */
|
||||
|
|
Loading…
Reference in New Issue