Possible kqueue related issue on STABLE/RC.

Jimmy Olgeni olgeni at olgeni.com
Wed Sep 11 20:32:33 UTC 2013


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


More information about the freebsd-stable mailing list