Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/arch/alpha/alpha Pull up revision 1.65 (via patch, ...



details:   https://anonhg.NetBSD.org/src/rev/edbf1b54b2e7
branches:  netbsd-1-5
changeset: 491295:edbf1b54b2e7
user:      he <he%NetBSD.org@localhost>
date:      Sat Apr 21 21:49:43 2001 +0000

description:
Pull up revision 1.65 (via patch, requested by sommerfeld):
  In cpu_fork(), make sure the spawned kthread or process runs at
  IPL_0 instead of whatever IPL the parent was running at.

  This appears to fix the NTP clock stability problems observed on
  some alpha systems; the clock appears stable even when there's
  heavy raidframe (i.e., kthread-intensive) I/O under way.

diffstat:

 sys/arch/alpha/alpha/vm_machdep.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r deae8f2feed1 -r edbf1b54b2e7 sys/arch/alpha/alpha/vm_machdep.c
--- a/sys/arch/alpha/alpha/vm_machdep.c Sat Apr 21 21:41:38 2001 +0000
+++ b/sys/arch/alpha/alpha/vm_machdep.c Sat Apr 21 21:49:43 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.57 2000/05/28 05:48:59 thorpej Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.57.2.1 2001/04/21 21:49:43 he Exp $ */
 
 /*
  * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.57 2000/05/28 05:48:59 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.57.2.1 2001/04/21 21:49:43 he Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -235,6 +235,7 @@
                    (u_int64_t)arg;                     /* s2: arg */
                up->u_pcb.pcb_context[7] =
                    (u_int64_t)switch_trampoline;       /* ra: assembly magic */
+               up->u_pcb.pcb_context[8] = ALPHA_PSL_IPL_0; /* ps: IPL */
        }
 }
 



Home | Main Index | Thread Index | Old Index