From owner-freebsd-stable@FreeBSD.ORG Thu Sep 12 07:47:00 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 09644A43 for ; Thu, 12 Sep 2013 07:47:00 +0000 (UTC) (envelope-from olgeni@olgeni.com) Received: from olgeni.olgeni.com (host-156-246-171-31.cloudsigma.com [31.171.246.156]) by mx1.freebsd.org (Postfix) with ESMTP id C29B42836 for ; Thu, 12 Sep 2013 07:46:59 +0000 (UTC) Received: from [192.168.0.196] (93-62-212-84.ip24.fastwebnet.it [93.62.212.84]) by olgeni.olgeni.com (Postfix) with ESMTPSA id B639C1744A7; Thu, 12 Sep 2013 09:46:58 +0200 (CEST) Date: Thu, 12 Sep 2013 09:46:58 +0200 (CEST) From: Jimmy Olgeni X-X-Sender: olgeni@localhost.my.domain To: Konstantin Belousov Subject: Re: Possible kqueue related issue on STABLE/RC. In-Reply-To: <20130912073714.GN41229@kib.kiev.ua> Message-ID: References: <20130911171913.GG41229@kib.kiev.ua> <20130912073714.GN41229@kib.kiev.ua> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Sep 2013 07:47:00 -0000 On Thu, 12 Sep 2013, Konstantin Belousov wrote: >> 4591 is the VI_LOCK(vp) in filt_vfsvnode: >> >> static int >> filt_vfsvnode(struct knote *kn, long hint) >> { >> struct vnode *vp = (struct vnode *)kn->kn_hook; >> int res; >> >> VI_LOCK(vp); ^^^^^^^^^^^ >> if (kn->kn_sfflags & hint) >> kn->kn_fflags |= hint; >> if (hint == NOTE_REVOKE) { >> kn->kn_flags |= EV_EOF; >> VI_UNLOCK(vp); >> return (1); >> } >> res = (kn->kn_fflags != 0); >> VI_UNLOCK(vp); >> return (res); >> } > Which line is 4591 ? "VI_LOCK(vp);" which bumps into the assertion. -- jimmy