Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 09:31:54 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        nms@otdel-1.org, freebsd-current@FreeBSD.ORG
Subject:   Re: Is there spinlocks/semaphores available for drivers?
Message-ID:  <200003271731.JAA41585@apollo.backplane.com>
References:   <Pine.SUN.3.91.1000327072156.16642A-100000@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
:>     *not* preempted except when being interrupted, so there are no
:>     'priorities', per say.  Or, rather, the relative priority is strictly
:>     that the interrupt takes priority over supervisor code except when
:>     disabled by said supervisor code.
:
:But locks with owners wouldn't have to disable interrupts (given that
:we have interrupt threads).  What about shared interrupts?  You could
:still field and process the interrupt as long as it was for a different
:device.
:Dan Eischen

    The word 'too bad' comes to mind re: shared interrupts.  That is, while
    it would be nice to support concurrent operation in that case, the
    current model can't, and the customer can simply rearrange his PCI cards
    if two high-volume devices wind up on the same interrupt to get around
    the limitation.  So making this work would be a very low priority relative
    to other bullets.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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