Re: SMP in 2.4

Dennis (dennis@etinc.com)
Wed, 18 Apr 2001 18:44:02 -0400


At 02:05 PM 04/18/2001, Matti Aarnio wrote:
>On Wed, Apr 18, 2001 at 11:08:22AM -0400, Dennis wrote:
> > Does 2.4 have something similar to spl levels or does it still require the
> > ridiculous MS-DOSish spin-locks to protect every bit of code?
>
> Lets see -- (besides of MSDOS not having any sort of spinlocks), the
> spl() is something out of VAX series of machines, and it really works
> by presuming that there is some sort of priority leveling among irq
> sources.

I was referring to the infamous CLI/STI combinations that are more
analogous to spinlocks than anything you are talking about. spl levels are
clean and transparent and have been doing a very nice job in helping to
avoid race conditions in real unix systems for quite some time now.

db

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/