DragonFly BSD
DragonFly kernel List (threaded) for 2006-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: splz still ?


From: joerg@xxxxxxxxxxxxxxxxx
Date: Mon, 15 May 2006 18:20:54 +0200
Mail-followup-to: kernel@crater.dragonflybsd.org

On Mon, May 15, 2006 at 09:08:12AM -0700, Matthew Dillon wrote:
>     splz() still serves a vital function on the system.  It is used to
>     run pending interrupts after the last critical section is exited,
>     and used to run pending interrupts if a thread switch occurs (e.g.
>     between two threads which are both holding a critical section).
>     So it can't be removed in general.  CAMs use of splz() is rather odd,
>     but not illegal.

In genereal it should not be used outside the scheduler and low level
code. From the architectual POV I would call the CAM use illegal :-)

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]