From owner-freebsd-current@FreeBSD.ORG Thu Feb 27 10:39:18 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D278CF0 for ; Thu, 27 Feb 2014 10:39:18 +0000 (UTC) Received: from smtp.mei.co.jp (smtp.mei.co.jp [133.183.100.20]) by mx1.freebsd.org (Postfix) with ESMTP id 1F32A1760 for ; Thu, 27 Feb 2014 10:39:17 +0000 (UTC) Received: from mail-gw.jp.panasonic.com ([157.8.1.157]) by smtp.mei.co.jp (8.12.11.20060614/3.7W/kc-maile14) with ESMTP id s1RAdDlX012290; Thu, 27 Feb 2014 19:39:13 +0900 (JST) Received: from epochmail.jp.panasonic.com ([157.8.1.130]) by mail.jp.panasonic.com (8.11.6p2/3.7W/kc-maili16) with ESMTP id s1RAdEM12772; Thu, 27 Feb 2014 19:39:14 +0900 Received: by epochmail.jp.panasonic.com (8.12.11.20060308/3.7W/lomi16) id s1RAdEvn010087; Thu, 27 Feb 2014 19:39:14 +0900 Received: from localhost by lomi16.jp.panasonic.com (8.12.11.20060308/3.7W) with ESMTP id s1RAdE0N010075; Thu, 27 Feb 2014 19:39:14 +0900 Date: Thu, 27 Feb 2014 19:39:14 +0900 (JST) Message-Id: <20140227.193914.1745107579233813450.okuno.kohji@jp.panasonic.com> To: hps@bitfrost.no Subject: Re: kqueue for usb_dev From: Kohji Okuno 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> Organization: Panasonic Corporation X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jmg@funkthat.com, freebsd-current@freebsd.org, okuno.kohji@jp.panasonic.com X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 10:39:18 -0000 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"