kqueue for usb_dev

Kohji Okuno okuno.kohji at jp.panasonic.com
Thu Feb 27 10:39:18 UTC 2014


Hi HPS and John-Mark,

After I changed as the following, the kernel panic does not happen.
What do you think about this change?

+       knlist_clear(&f->selinfo.si_note, 0);
        knlist_destroy(&f->selinfo.si_note);
 
Regards,
 Kohji Okuno

> We should wait for empty of knlist before knlist_destroy().
> When I tried 262551, the kernel panic at KN_LIST_LOCK(kn) in
> kern_event.c.
> 
> Regards,
>  Kohji Okuno
> 
>> On 02/27/14 10:00, Hans Petter Selasky wrote:
>>> Hi Kohji,
>>>
>>> Can you verify this commit:
>>>
>>> http://svnweb.freebsd.org/changeset/base/262550
>>>
>>> Please test using both read and write direction. For example you can use
>>> the ULPT driver or a /dev/usb/X.X.X node which supports both read and
>>> write.
>>>
>>> Thank you!
>>>
>>> --HPS
>> 
>> And this commit too:
>> http://svnweb.freebsd.org/changeset/base/262551
>> 
>> Thank you!
>> 
>> --HPS
>> _______________________________________________
>> freebsd-current at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"


More information about the freebsd-current mailing list