Re: MPSAFE CAM?

From: Robert Watson (rwatson_at_FreeBSD.org)
Date: 05/29/05

  • Next message: Poul-Henning Kamp: "Re: MPSAFE CAM?"
    Date: Sun, 29 May 2005 12:14:48 +0100 (BST)
    To: Scott Long <scottl@samsco.org>
    
    

    On Sat, 28 May 2005, Scott Long wrote:

    > If anyone wants to help tackle this, I'd be glad to help them get
    > started. BSD/OS 5.(mumble) did a minimal locking job on CAM that
    > probably works OK for systems with a single SCSI port, but likely gets
    > very inefficient once you go beyond that. They also rewrote the SCSI
    > probe state machine, which in our CAM is a source for quite a bit of
    > lock recursion. The work I did last year focused on addressing this.

    The good news is that with VFS and UFS out from under Giant, code left
    running under Giant experiences a lot less contention than it used to.
    So once the interrupt handler can run to completion without Giant in a CAM
    driver, we've gained many of the benefits of making MPSAFE. Especially if
    we can knock Giant off a lot of the remaining non-CAM device drivers that
    it's still stuck over.

    Another area that requires further attention is the tty code and tty
    drivers. It sounds like phk has some plans in this space, and as I told
    him at BSDCan, I'm happy to do the network side of tty-connected network
    code, if he takes care of the tty side. Once this is done, maybe someone
    can give another try at syscons...

    Robert N M Watson
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Poul-Henning Kamp: "Re: MPSAFE CAM?"

    Relevant Pages

    • Re: MPSAFE CAM?
      ... > is any progress in making CAM (and the individual card drivers) MPSAFE? ... > FreeBSD is mainly used for servers, where SCSI is pretty common. ... > seems like locking down CAM would be beneficial to a large number of FreeBSD ...
      (freebsd-arch)
    • Re: Webcam - where to get drivers?
      ... would be extremely hard to find a suitable driver. ... 'web cam', see if you can spot the cam in the pictures. ... get correct drivers from?..trouble is there is zero info on the camera - ... The USB camera controller chip is here: ...
      (alt.comp.hardware.pc-homebuilt)
    • Re: How to determine link of umass/da devices
      ... With tools like usbdevs and sysctl, I can find out what USB devices ... are connected, and also what USB drivers handle them (so I can see, ... cam doesn't hook the da devices into the device tree. ... ugly hack like trying to parse dmesg. ...
      (freebsd-hackers)
    • webcam lockup
      ... boutgh a new one and can no longer get it working. ... I can install everything ... just fine and the softaware that comes with the cam seems to work ok. ... My new system also has drivers that show up because of a tuner/capture card ...
      (microsoft.public.windowsxp.hardware)
    • Re: Encoder9 crashes with cam
      ... For fun I downloaded real media Helix producer to see if they had problems ... Hope I can resolve the solution for the windows media encoder. ... >> As soon I connect my cam and select the cam as the video device the encoder ... Make sure you're running the latest drivers. ...
      (microsoft.public.windowsmedia.encoder)