diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-03-19 15:17:22 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-03-19 15:17:22 +0000 |
commit | 1e7f272f2db55a4d4fcdf3fc05b66ca6e7758226 (patch) | |
tree | 04b7d5d3d51058fd3dac6bbb01611aa3bf7eba6f | |
parent | 8f0c3b4494ef7c12f6136859858411b0e6672a31 (diff) |
Deactivate the pmap in cpu_exit. This way we can avoid quite a lot of
tlb shootdowns in the reaper.
mickey@ ok
-rw-r--r-- | sys/arch/i386/i386/vm_machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |