Re: kqueue for usb_dev
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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 13 之 14 篇):