Re: kqueue for usb_dev

From: Kohji Okuno <okuno.kohji_at_jp.panasonic.com>
Date: Thu, 27 Feb 2014 19:39:14 +0900 (JST)
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"
Received on Thu Feb 27 2014 - 09:39:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:47 UTC