From owner-freebsd-smp Mon May 27 16:27:57 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA08298 for smp-outgoing; Mon, 27 May 1996 16:27:57 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA08291 for freebsd-smp; Mon, 27 May 1996 16:27:56 -0700 (PDT) Date: Mon, 27 May 1996 16:27:56 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199605272327.QAA08291@freefall.freebsd.org> To: freebsd-smp Subject: cvs commit: sys/i386/isa icu.s vector.s sys smp.todo sys/i386/i386 exception.s locore.s machdep.c mpcore.s mplock.s swtch.s trap.c sys/i386/include pcb.h smp.h spl.h sys/kern init_main.c kern_sig.c kern_synch.c sys/sys proc.h sys/vm vm_glue.c Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/05/27 16:27:55 Modified: . smp.todo i386/i386 exception.s locore.s machdep.c mpcore.s mplock.s swtch.s trap.c i386/include pcb.h smp.h spl.h i386/isa icu.s vector.s kern init_main.c kern_sig.c kern_synch.c sys proc.h vm vm_glue.c Log: Mega commit of a days work. update smp.todo to a more recent reality. remove all the serial_putc calls. rewrite mplock.s to take the lock as an arg, make the mplock use this. in vector.s, if trymplock() fails, mark irq as pending and return. This last may actually loose an irq every now and then, I don't know how yet. you can sometimes fix this by: exam ipending write ipending FOO cont where FOO is (the_old_value | 1<