From owner-freebsd-threads@FreeBSD.ORG Fri Aug 8 13:20:11 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A116E37B401; Fri, 8 Aug 2003 13:20:11 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01EBC43F3F; Fri, 8 Aug 2003 13:20:11 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h78KKAuN012184; Fri, 8 Aug 2003 16:20:10 -0400 (EDT) Date: Fri, 8 Aug 2003 16:20:10 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: davidxu@freebsd.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@freebsd.org Subject: Re: mutex_d again X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 20:20:12 -0000 On Fri, 8 Aug 2003, Daniel Eischen wrote: > On Fri, 8 Aug 2003, Daniel Eischen wrote: > > > On Fri, 8 Aug 2003, Daniel Eischen wrote: > > > > > It seems mutex_d is failing again in the priority inheritence tests. > > > I'll try it on my system at work just to make sure it's not my kernel > > > (newly built) at home that is screwing me somehow. > > > > It seems to be working here at work on a 3-day old > > kernel. I am updating the kernel right now to see > > if it works with a new kernel. > > Yes, it now fails on a new kernel cvsup'd from 2 hours > ago. Something in the kernel is busted, and within > the last 2 or 3 days. Nevermind, found it. -- Dan Eischen Index: kern/kern_thread.c =================================================================== RCS file: /opt/FreeBSD/cvs/src/sys/kern/kern_thread.c,v retrieving revision 1.156 diff -u -r1.156 kern_thread.c --- kern/kern_thread.c 7 Aug 2003 15:04:26 -0000 1.156 +++ kern/kern_thread.c 8 Aug 2003 20:02:32 -0000 @@ -1601,7 +1601,7 @@ } else { if (td->td_standin == NULL) thread_alloc_spare(td, NULL); - tflags = fuword32(tmbx); + tflags = fuword32(&tmbx->tm_flags); /* * On some architectures, TP register points to thread * mailbox but not points to kse mailbox, and userland