From owner-freebsd-alpha Sun Feb 11 16:28:29 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from cr66388-a.rchrd1.on.wave.home.com (cr66388-a.rchrd1.on.wave.home.com [24.114.165.24]) by hub.freebsd.org (Postfix) with ESMTP id 1762337B401 for ; Sun, 11 Feb 2001 16:28:26 -0800 (PST) Received: from cr66388-a.rchrd1.on.wave.home.c (localhost [127.0.0.1]) by cr66388-a.rchrd1.on.wave.home.com (Postfix) with ESMTP id 84796BABD for ; Sun, 11 Feb 2001 19:28:20 -0500 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.3 To: freebsd-alpha@freebsd.org Subject: HEADS UP Re: cvs commit: src/sys/alpha/alpha trap.c src/sys/dev/acpica/Osd OsdSchedule.c src/sys/i386/i386 genassym.c swtch.s trap.c src/sys/ia64/ia64 trap.c src/sys/kern init_main.c kern_condvar.c kern_idle.c kern_intr.c kern_mib.c kern_mutex.c kern_proc.c ... In-Reply-To: Message from Jake Burkholder of "Sun, 11 Feb 2001 16:20:08 PST." <200102120020.f1C0K8N72721@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Feb 2001 19:28:20 -0500 From: Jake Burkholder Message-Id: <20010212002820.84796BABD@cr66388-a.rchrd1.on.wave.home.com> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > jake 2001/02/11 16:20:08 PST > > Modified files: > sys/alpha/alpha trap.c > sys/dev/acpica/Osd OsdSchedule.c > sys/i386/i386 genassym.c swtch.s trap.c > sys/ia64/ia64 trap.c > sys/kern init_main.c kern_condvar.c kern_idle.c > kern_intr.c kern_mib.c kern_mutex.c > kern_proc.c kern_resource.c kern_sig.c > kern_subr.c kern_switch.c kern_synch.c > sys/posix4 ksched.c > sys/sys ktr.h param.h proc.h rtprio.h systm.h > tty.h user.h > sys/ufs/ffs ffs_snapshot.c > sys/vm vm_glue.c vm_meter.c > Added files: > sys/sys priority.h runq.h > Log: > Implement a unified run queue and adjust priority levels accordingly. I made sure that this compiles for the alpha. One problem is that propogate_priority() uses the p_oncpu field of struct proc, which isn't set by alpha's cpu_switch(). I don't know enough alpha asm to do it or I would have. This shouldn't be that a big of a deal for UP at least. What needs to happen is that when switching out of a process, the p_oncpu field should be set to 0xff, and the p_oncpu field of the new process should be set to the cpuid of the new cpu (always zero for UP). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message