From owner-freebsd-smp Sat Aug 23 22:08:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA09222 for smp-outgoing; Sat, 23 Aug 1997 22:08:45 -0700 (PDT) Received: from mhub1.tc.umn.edu (0@mhub1.tc.umn.edu [128.101.131.51]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA09216; Sat, 23 Aug 1997 22:08:32 -0700 (PDT) Received: from gold.tc.umn.edu by mhub1.tc.umn.edu; Sun, 24 Aug 97 00:07:32 -0500 Received: from pub-11-a-132.dialup.umn.edu by gold.tc.umn.edu; Sun, 24 Aug 97 00:07:30 -0500 Date: Sun, 24 Aug 1997 00:08:06 -0500 (CDT) From: dave adkins To: Steve Passe cc: smp@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include param.h src/sys/i386/isa apic_ipl.s apic_vector.s icu_ipl.s ipl.s ipl_funcs.c src/sys/i386/i386 exception.s locore.s microtime.s simplelock.s In-Reply-To: <199708240005.RAA10511@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 23 Aug 1997, Steve Passe wrote: > fsmp 1997/08/23 17:05:38 PDT > > Modified files: > sys/i386/include param.h > sys/i386/isa apic_ipl.s apic_vector.s icu_ipl.s ipl.s > ipl_funcs.c > sys/i386/i386 exception.s locore.s microtime.s > simplelock.s > Log: > The last of the encapsolation of cpl/spl/ipending things into a critical > region protected by the simplelock 'cpl_lock'. > > Notes: > > - this code is currently controlled on a section by section basis with > defines in machine/param.h. All sections are currently enabled. > > - this code is not as clean as I would like, but that can wait till later. > > - the "giant lock" still surrounds most instances of this "cpl region". > I still have to do the code that arbitrates setting cpl between the > top and bottom halves of the kernel. > > - the possibility of deadlock exists, I am committing the code at this > point so as to exercise it and detect any such cases B4 the "giant lock" > is removed. > > Revision Changes Path > 1.37 +64 -2 src/sys/i386/include/param.h > 1.14 +87 -26 src/sys/i386/isa/apic_ipl.s > 1.18 +40 -25 src/sys/i386/isa/apic_vector.s > 1.2 +68 -1 src/sys/i386/isa/icu_ipl.s > 1.11 +59 -79 src/sys/i386/isa/ipl.s > 1.3 +157 -4 src/sys/i386/isa/ipl_funcs.c > 1.41 +63 -12 src/sys/i386/i386/exception.s > 1.95 +4 -3 src/sys/i386/i386/locore.s > 1.29 +11 -3 src/sys/i386/i386/microtime.s > 1.3 +50 -2 src/sys/i386/i386/simplelock.s > > Hi, My Tyan S1563D 2x200 pentium system dies pretty early with these changes. I disabled all the sections and reenabled them one by one. The system continues to boot and run with all sections enabled except REAL_IFCPL. With REAL_IFCPL enabled the system hangs right after the boot loader messages and before the copyright and version is printed. dave adkins