Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 05:30:51 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        John Baldwin <jhb@FreeBSD.org>
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 
Message-ID:  <200010290530.e9T5Ups01718@hak.lan.Awfulhak.org>
In-Reply-To: Message from John Baldwin <jhb@FreeBSD.org>  of "Tue, 24 Oct 2000 22:23:17 PDT." <XFMail.001024222317.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
[.....]
> >   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 <jhb@FreeBSD.org> -- 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 <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010290530.e9T5Ups01718>