From owner-cvs-src-old@FreeBSD.ORG Sat Oct 10 14:56:56 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90716106566B for ; Sat, 10 Oct 2009 14:56:56 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7EE3A8FC13 for ; Sat, 10 Oct 2009 14:56:56 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9AEuuVq047475 for ; Sat, 10 Oct 2009 14:56:56 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9AEuuEB047474 for cvs-src-old@freebsd.org; Sat, 10 Oct 2009 14:56:56 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200910101456.n9AEuuEB047474@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sat, 10 Oct 2009 14:56:34 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_event.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2009 14:56:56 -0000 kib 2009-10-10 14:56:34 UTC FreeBSD src repository Modified files: sys/kern kern_event.c Log: SVN rev 197930 on 2009-10-10 14:56:34Z by kib Postpone dropping fp till both kq_global and kqueue mutexes are unlocked. fdrop() closes file descriptor when reference count goes to zero. Close method for vnodes locks the vnode, resulting in "sleepable after non-sleepable". For pipes, pipe mutex is before kqueue lock, causing LOR. Reported and tested by: pho MFC after: 2 weeks Revision Changes Path 1.136 +3 -3 src/sys/kern/kern_event.c