From owner-cvs-all Sat Oct 28 22:32:51 2000 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 7E46337B479; Sat, 28 Oct 2000 22:32:45 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.0/8.11.0) with ESMTP id e9T5Uqh74210; Sun, 29 Oct 2000 05:30:52 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.1/8.11.1) with ESMTP id e9T5Ups01718; Sun, 29 Oct 2000 05:30:51 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200010290530.e9T5Ups01718@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: John Baldwin Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, brian@Awfulhak.org Subject: Re: cvs commit: src/sys/alpha/alpha busdma_machdep.c clock.c int In-Reply-To: Message from John Baldwin of "Tue, 24 Oct 2000 22:23:17 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 29 Oct 2000 05:30:51 +0000 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [.....] > > Log: > > - Overhaul the software interrupt code to use interrupt threads for each > > type of software interrupt. Roughly, what used to be a bit in spending > > now maps to a swi thread. Each thread can have multiple handlers, just > > like a hardware interrupt thread. > > - Instead of using a bitmask of pending interrupts, we schedule the > > specific > > software interrupt thread to run, so spending, NSWI, and the shandlers > > array are no longer needed. We can now have an arbitrary number of > > software interrupt threads. When you register a software interrupt > > thread via sinthand_add(), you get back a struct intrhand that you pass > > to sched_swi() when you wish to schedule your swi thread to run. > > - Convert the name of 'struct intrec' to 'struct intrhand' as it is a bit > > more intuitive. Also, prefix all the members of struct intrhand with > > 'ih_'. > > - Make swi_net() a MI function since there is now no point in it being > > MD. > > > > Submitted by: cp > > This has been tested and run succesfully on both x86 SMP and alpha. > I don't presently have an ia64 simulator environment or a kernel build > environment set up yet, so I'm not entirely sure that I haven't broken > ia64. Chuck would be extremely glad to field any bug reports that you > may have with this. *duck* :-P I *think* this is broken for the ATM case with options ATM_CORE options ATM_IP options ATM_SIGPVC I'm not sure at the moment because I had other things to do and simply commented them out of my config for now (I'm saying, something broke the ATM stuff, and I suspect it was this commit, but it may not be). > -- > > 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/ -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message