From owner-cvs-all Sun Mar 4 20:42:28 2001 Delivered-To: cvs-all@freebsd.org Received: from moby.geekhouse.net (moby.geekhouse.net [64.81.6.36]) by hub.freebsd.org (Postfix) with ESMTP id 8C1A637B71A; Sun, 4 Mar 2001 20:42:16 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@dhcp152.geekhouse.net [192.168.1.152]) by moby.geekhouse.net (8.11.0/8.9.3) with ESMTP id f254hA185224; Sun, 4 Mar 2001 20:43:11 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103050437.f254bsP15616@freefall.freebsd.org> Date: Sun, 04 Mar 2001 20:41:59 -0800 (PST) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/i386/isa apic_vector.s icu_vector.s Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 05-Mar-01 John Baldwin wrote: > jhb 2001/03/04 20:37:54 PST > > Modified files: > sys/i386/isa apic_vector.s icu_vector.s > Log: > Don't enable interrupts before calling sched_ithd for threaded interrupts. > > Tested by: obrien This fixed some hard hangs that David was seeing on his machine under heavy load. It might also fix (or at lesat greatly diminish the number of occurences) the "ltr" panics involving a kernel trap 9 with interrupts disabled. By leaving interrupts disabled in sched_ithd, we don't allow ourselves to be preempted by interrupt B while we are scheduling interrupt A. Otherwise, we could become too deeply nested in our stack and overwrite various parts of the pcb. (Some of which probably don't belong in the pcb.) -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message