Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2013 22:32:31 +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.1309112119460.2566@olgeni.olgeni>
In-Reply-To: <20130911171913.GG41229@kib.kiev.ua>
References:  <alpine.BSF.2.00.1309111705460.89324@olgeni.olgeni> <20130911171913.GG41229@kib.kiev.ua>

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

Hi,

On Wed, 11 Sep 2013, Konstantin Belousov wrote:

> Could you list the lines around the the vfs_subr.c:4591 in your kernel ?

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);
}


Next test with INVARIANTS & C as soon as the build is done.

-- 
jimmy



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