From a537f28afd62dbc7ee9083a94d77af0eeaffb984 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 8 Jan 2004 14:35:34 +0000 Subject: switch_exit() must be invoked at splhigh(), or you race the clock. --- sys/arch/mvme88k/mvme88k/vm_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/mvme88k/mvme88k/vm_machdep.c b/sys/arch/mvme88k/mvme88k/vm_machdep.c index 5ccd4fd0c6a..f82e1f52076 100644 --- a/sys/arch/mvme88k/mvme88k/vm_machdep.c +++ b/sys/arch/mvme88k/mvme88k/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.57 2004/01/02 17:08:58 miod Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.58 2004/01/08 14:35:33 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. @@ -161,7 +161,7 @@ cpu_exit(struct proc *p) { pmap_deactivate(p); - (void) splimp(); + splhigh(); uvmexp.swtch++; switch_exit(p); -- cgit v1.2.3