From owner-freebsd-hackers Sun Jun 23 20: 0:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 1C73637B407 for ; Sun, 23 Jun 2002 20:00:27 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g5O30NCV089271; Sun, 23 Jun 2002 20:00:23 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g5O30Nge089270; Sun, 23 Jun 2002 20:00:23 -0700 (PDT) (envelope-from dillon) Date: Sun, 23 Jun 2002 20:00:23 -0700 (PDT) From: Matthew Dillon Message-Id: <200206240300.g5O30Nge089270@apollo.backplane.com> To: Jonathan Lemon Cc: Julian Elischer , Jonathan Lemon , hackers@freebsd.org Subject: Re: Bug in wakeup() (stable and current) ? References: <200206232158.g5NLw9c49030@prism.flugsvamp.com> <20020623213443.K91821@prism.flugsvamp.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :> I just added debug code in the TAILQ code that sets the forward pointor :> to -1. Since Matt had this it's possible that this is what hit him? : :Most definitely. If you reset tqe_next, the code stops working. Try :the patch below. :-- :Jonathan : :Index: kern_synch.c :=================================================================== :RCS file: /ncvs/src/sys/kern/kern_synch.c,v :retrieving revision 1.175 :diff -u -r1.175 kern_synch.c :--- kern_synch.c 7 Jun 2002 05:39:16 -0000 1.175 :+++ kern_synch.c 24 Jun 2002 02:42:40 -0000 :@@ -605,13 +605,14 @@ : register void *ident; :.. I already threw a quick fix into Julian's KSE tree. The real fix (Tor's patch) went into -current earlier today. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message