Re: locking in a device driver
From: Dinesh Nair (dinesh_at_alphaque.com)
Date: 11/02/05
- Previous message: Mikhail Teterin: "skc0: unknown media type: 0x0"
- Maybe in reply to: Dinesh Nair: "Re: locking in a device driver"
- Next in thread: Warner Losh: "Re: locking in a device driver"
- Reply: Warner Losh: "Re: locking in a device driver"
- Reply: Julian Elischer: "Re: locking in a device driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 03 Nov 2005 02:23:32 +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
so if the userland thread does an ioctl, and the the driver goes to
tsleep() when the ioctl is received, all other threads are also blocked
from executing, i.e wont be context switched to run ?
is this behaviour only 4.x specific or is it also there in 5.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"
- Previous message: Mikhail Teterin: "skc0: unknown media type: 0x0"
- Maybe in reply to: Dinesh Nair: "Re: locking in a device driver"
- Next in thread: Warner Losh: "Re: locking in a device driver"
- Reply: Warner Losh: "Re: locking in a device driver"
- Reply: Julian Elischer: "Re: locking in a device driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|