Date: Fri, 8 Aug 2003 16:20:10 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: davidxu@freebsd.org Cc: threads@freebsd.org Subject: Re: mutex_d again Message-ID: <Pine.GSO.4.10.10308081618330.11886-100000@pcnet5.pcnet.com> In-Reply-To: <Pine.GSO.4.10.10308081510330.87-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10308081618330.11886-100000>
