Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2001 08:12:11 +0200
From:      Tor.Egge@fast.no
To:        jjreynold@home.com
Cc:        stable@FreeBSD.ORG
Subject:   Re: Hard lockups since cvsup'ing Jul 1st. Help!
Message-ID:  <200107040612.IAA69094@midten.fast.no>
In-Reply-To: Your message of "Tue, 3 Jul 2001 22:42:10 -0700"
References:  <15170.44210.486464.356996@whale.home-net>

next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Wed_Jul__4_08:10:38_2001)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> 
> > that's a little narrower interval than your June 2 for your binary
> > search.  I'm loathe to update my source tree until this is solved...
> 
> Well, he searching goes on. Right before I left work somebody suggested that
> Tor Egge's latest commit 
>  
>  http://docs.freebsd.org/cgi/getmsg.cgi?fetch=512483+0+current/cvs-all
> 
> might fix things, but unfortunately, it does not.

Try this patch.  Interaction between vop_noislocked and procfs also
triggered the problem.

- Tor Egge


----Next_Part(Wed_Jul__4_08:10:38_2001)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Index: kern/vfs_default.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/vfs_default.c,v
retrieving revision 1.28.2.3
diff -u -1 -0 -r1.28.2.3 vfs_default.c
--- kern/vfs_default.c	2001/06/26 04:20:08	1.28.2.3
+++ kern/vfs_default.c	2001/07/04 01:39:38
@@ -485,26 +485,21 @@
 /*
  * Return whether or not the node is in use.
  */
 int
 vop_noislocked(ap)
 	struct vop_islocked_args /* {
 		struct vnode *a_vp;
 		struct proc *a_p;
 	} */ *ap;
 {
-	struct vnode *vp = ap->a_vp;
-	struct lock *l = (struct lock *)vp->v_data;
-
-	if (l == NULL)
-		return (0);
-	return (lockstatus(l, ap->a_p));
+	return (0);
 }
 
 int
 vop_stdcreatevobject(ap)
 	struct vop_createvobject_args /* {
 		struct vnode *vp;
 		struct ucred *cred;
 		struct proc *p;
 	} */ *ap;
 {

----Next_Part(Wed_Jul__4_08:10:38_2001)----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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