Date: Thu, 27 Feb 2014 19:39:14 +0900 (JST) From: Kohji Okuno <okuno.kohji@jp.panasonic.com> To: hps@bitfrost.no Cc: jmg@funkthat.com, freebsd-current@freebsd.org, okuno.kohji@jp.panasonic.com Subject: Re: kqueue for usb_dev Message-ID: <20140227.193914.1745107579233813450.okuno.kohji@jp.panasonic.com> In-Reply-To: <20140227.190128.1827840697797583715.okuno.kohji@jp.panasonic.com> References: <530EFEAD.2090502@bitfrost.no> <530F02CA.2030206@bitfrost.no> <20140227.190128.1827840697797583715.okuno.kohji@jp.panasonic.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140227.193914.1745107579233813450.okuno.kohji>