From 1e7f272f2db55a4d4fcdf3fc05b66ca6e7758226 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 19 Mar 2007 15:17:22 +0000 Subject: Deactivate the pmap in cpu_exit. This way we can avoid quite a lot of tlb shootdowns in the reaper. mickey@ ok --- sys/arch/i386/i386/vm_machdep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/i386/i386/vm_machdep.c b/sys/arch/i386/i386/vm_machdep.c index 4276feffa6b..b051d39e554 100644 --- a/sys/arch/i386/i386/vm_machdep.c +++ b/sys/arch/i386/i386/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.49 2007/02/24 11:59:45 miod Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.50 2007/03/19 15:17:21 art Exp $ */ /* $NetBSD: vm_machdep.c,v 1.61 1996/05/03 19:42:35 christos Exp $ */ /*- @@ -150,6 +150,7 @@ cpu_exit(struct proc *p) npxsave_proc(p, 0); #endif + pmap_deactivate(p); switch_exit(p); } -- cgit v1.2.3