summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-06-23 13:46:06 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-06-23 13:46:06 +0000
commit93464a5bb604a1cdd00a71845d69e3c6ab772286 (patch)
tree0e6519039dacc55faeb70bb6a620af7ac2dcebbc /sys/arch
parent75d87370a56e6c69b9ad8e0c6a0d3c5c53778418 (diff)
consistantly count context switches on exit; miod@ ok
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/vm_machdep.c3
-rw-r--r--sys/arch/hp300/hp300/vm_machdep.c3
-rw-r--r--sys/arch/i386/i386/vm_machdep.c3
-rw-r--r--sys/arch/m88k/m88k/vm_machdep.c3
-rw-r--r--sys/arch/mac68k/mac68k/vm_machdep.c3
-rw-r--r--sys/arch/mvme68k/mvme68k/vm_machdep.c3
6 files changed, 6 insertions, 12 deletions
diff --git a/sys/arch/amd64/amd64/vm_machdep.c b/sys/arch/amd64/amd64/vm_machdep.c
index 70c0291cf11..9f5e0b4c19f 100644
--- a/sys/arch/amd64/amd64/vm_machdep.c
+++ b/sys/arch/amd64/amd64/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.6 2005/12/13 00:18:19 jsg Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.7 2006/06/23 13:46:05 mickey Exp $ */
/* $NetBSD: vm_machdep.c,v 1.1 2003/04/26 18:39:33 fvdl Exp $ */
/*-
@@ -190,7 +190,6 @@ cpu_exit(struct proc *p)
* pmap_destroy().
*/
- uvmexp.swtch++;
switch_exit(p, exit2);
}
diff --git a/sys/arch/hp300/hp300/vm_machdep.c b/sys/arch/hp300/hp300/vm_machdep.c
index 2440240cd24..d5cb0c6b87a 100644
--- a/sys/arch/hp300/hp300/vm_machdep.c
+++ b/sys/arch/hp300/hp300/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.39 2005/11/17 23:56:44 miod Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.40 2006/06/23 13:46:05 mickey Exp $ */
/* $NetBSD: vm_machdep.c,v 1.60 2001/07/06 05:53:35 chs Exp $ */
/*
@@ -134,7 +134,6 @@ cpu_exit(p)
{
(void) splhigh();
- uvmexp.swtch++;
switch_exit(p);
/* NOTREACHED */
}
diff --git a/sys/arch/i386/i386/vm_machdep.c b/sys/arch/i386/i386/vm_machdep.c
index 70e1c717714..a5c1eb0e434 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.44 2006/05/11 13:21:12 mickey Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.45 2006/06/23 13:46:05 mickey Exp $ */
/* $NetBSD: vm_machdep.c,v 1.61 1996/05/03 19:42:35 christos Exp $ */
/*-
@@ -168,7 +168,6 @@ cpu_exit(p)
npxsave_proc(p, 0);
#endif
- uvmexp.swtch++;
switch_exit(p);
}
diff --git a/sys/arch/m88k/m88k/vm_machdep.c b/sys/arch/m88k/m88k/vm_machdep.c
index 6576f8ae52d..c1097825621 100644
--- a/sys/arch/m88k/m88k/vm_machdep.c
+++ b/sys/arch/m88k/m88k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.12 2006/05/08 14:36:09 miod Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.13 2006/06/23 13:46:05 mickey Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
@@ -148,7 +148,6 @@ cpu_exit(struct proc *p)
splhigh();
pmap_deactivate(p);
- uvmexp.swtch++;
switch_exit(p);
/* NOTREACHED */
}
diff --git a/sys/arch/mac68k/mac68k/vm_machdep.c b/sys/arch/mac68k/mac68k/vm_machdep.c
index 37c98ec68a4..72f925a6f44 100644
--- a/sys/arch/mac68k/mac68k/vm_machdep.c
+++ b/sys/arch/mac68k/mac68k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.35 2006/06/11 20:48:13 miod Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.36 2006/06/23 13:46:05 mickey Exp $ */
/* $NetBSD: vm_machdep.c,v 1.29 1998/07/28 18:34:55 thorpej Exp $ */
/*
@@ -129,7 +129,6 @@ cpu_exit(p)
{
(void)splhigh();
- uvmexp.swtch++;
switch_exit(p);
/* NOTREACHED */
}
diff --git a/sys/arch/mvme68k/mvme68k/vm_machdep.c b/sys/arch/mvme68k/mvme68k/vm_machdep.c
index 30dfdf57234..523b194df00 100644
--- a/sys/arch/mvme68k/mvme68k/vm_machdep.c
+++ b/sys/arch/mvme68k/mvme68k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.40 2005/12/17 07:31:26 miod Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.41 2006/06/23 13:46:05 mickey Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -128,7 +128,6 @@ cpu_exit(p)
{
splhigh();
- uvmexp.swtch++;
switch_exit(p);
/* NOTREACHED */
}