Re: locking in a device driver

From: Dinesh Nair (dinesh_at_alphaque.com)
Date: 10/28/05

  • Next message: Peter Jeremy: "Re: Very slow writing to SATA disk"
    Date: Fri, 28 Oct 2005 16:40:00 +0800
    To: "M. Warner Losh" <imp@bsdimp.com>
    
    

    On 10/28/05 10:52 M. Warner Losh said the following:
    > libc_r will block all other threads in the application while an ioctl
    > executes. libpthread and libthr won't. I've had several bugs at work

    which is a Good Thing(tm) indeed for me on 4.x.

    -- 
    Regards,                           /\_/\   "All dogs go to heaven."
    dinesh@alphaque.com                (0 0)    http://www.alphaque.com/
    +==========================----oOO--(_)--OOo----==========================+
    | for a in past present future; do                                        |
    |   for b in clients employers associates relatives neighbours pets; do   |
    |   echo "The opinions here in no way reflect the opinions of my $a $b."  |
    | done; done                                                              |
    +=========================================================================+
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Peter Jeremy: "Re: Very slow writing to SATA disk"

    Relevant Pages

    • Re: locking in a device driver
      ... >> executes. ... libpthread and libthr won't. ... I've had several bugs at work ...
      (freebsd-hackers)
    • Re: libc_r is deprecated
      ... > For years development, we now have libpthread and libthr, ... > many bugs, ...
      (freebsd-arch)
    • Re: locking in a device driver
      ... >> executes. ... It is fundamental to how userland threadding ... you use libpthread or libthr, ...
      (freebsd-hackers)
    • Re: locking in a device driver
      ... > libc_r will block all other threads in the application while an ioctl ... > executes. ... libpthread and libthr won't. ... I've had several bugs at work ...
      (freebsd-hackers)
    • Re: libc_r is deprecated
      ... In the libthr vs. libpthread ... it could well be that libpthread reduces kernel lock ...
      (freebsd-arch)