From owner-freebsd-current Thu Sep 14 16: 3:44 2000 Delivered-To: freebsd-current@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 3370D37B624; Thu, 14 Sep 2000 16:03:37 -0700 (PDT) Received: (from jhb@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) id QAA95584; Thu, 14 Sep 2000 16:03:37 -0700 (PDT) (envelope-from jhb) From: John Baldwin Message-Id: <200009142303.QAA95584@pike.osd.bsdi.com> Subject: Re: page fault in sched_ithd In-Reply-To: <20000914233231.N77593@strontium.scientia.demon.co.uk> from Ben Smithurst at "Sep 14, 2000 11:32:31 pm" To: Ben Smithurst Date: Thu, 14 Sep 2000 16:03:37 -0700 (PDT) Cc: Bruce Evans , current@FreeBSD.org, jasone@FreeBSD.org, jhb@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben Smithurst wrote: > Bruce Evans wrote: > > > On Sat, 9 Sep 2000, Ben Smithurst wrote: > > > >> After poking around a bit with remote GDB, this seems to be caused by a > >> stray IRQ 7, since irq == 7, ir == ithds[irq] == NULL, ir->foo == BOOM. > >> > >> The attached rather crude patch has "fixed" the problem for now, but > >> does anyone have any suggestions for a real fix? > > > > The stray interrupt handler needs to have a thread, or stray interrupts > > need to be handled as traps. Stray interrupts are more like NMIs than > > normal interrupts, and NMIs are already (mis)handled as traps. > > OK, but would you or anyone else object to the attached patch as a > temporary fix, at least? Page-faulting almost immediately is not > particularly good. The patch doesn't seem to have had any negative > effects so far. > > Who are the main people responsible for the SMPng stuff anyway? jasone > and jhb seem to have been involved a bit, so I cc'd them as well. This looks good to me, let me through it my tree here and try it out. For SMPng stuff, probably just sending to the smp@ list should be sufficient. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message