Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2013 09:46:58 +0200 (CEST)
From:      Jimmy Olgeni <olgeni@olgeni.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Possible kqueue related issue on STABLE/RC.
Message-ID:  <alpine.BSF.2.00.1309120946030.51816@localhost.my.domain>
In-Reply-To: <20130912073714.GN41229@kib.kiev.ua>
References:  <alpine.BSF.2.00.1309111705460.89324@olgeni.olgeni> <20130911171913.GG41229@kib.kiev.ua> <alpine.BSF.2.00.1309112119460.2566@olgeni.olgeni> <20130912073714.GN41229@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1309120946030.51816>