svn commit: r234488 - head/sys/net
Adrian Chadd
adrian at freebsd.org
Wed May 23 18:51:28 UTC 2012
On 20 April 2012 03:06, Andrew Thompson <thompsa at freebsd.org> wrote:
> Author: thompsa
> Date: Fri Apr 20 10:06:28 2012
> New Revision: 234488
> URL: http://svn.freebsd.org/changeset/base/234488
>
> Log:
> Move the interface media check to a taskqueue, some interfaces (usb) sleep
> during SIOCGIFMEDIA and we were holding locks.
Hi,
I've noticed this when hacking on switch drivers over i2c/gpio code.
The PHY code can't use sleep or locks because of this.
Do you think it'd maybe be a good idea to simply make the link status
check tick be run through a taskqueue, rather than having it done
direct from the callout swi?
Adrian
More information about the freebsd-net
mailing list