Date: Sun, 18 Apr 2004 16:28:27 +0200 From: db <db@TruNet.dk> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/65702: Kernel panic on i386 5.2.1 Message-ID: <20040418162827.4d97f2d7@main.trunet.dk> In-Reply-To: <200404181050.i3IAoFS0024008@freefall.freebsd.org> References: <1082285383.0@main.trunet.dk> <200404181050.i3IAoFS0024008@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi all I'm not a C programmer and I have not spend much time reading the kernel, but regarding my bug report I may have found the problem: 143 static void 144 propagate_priority(struct thread *td) 145 { 146 struct turnstile_chain *tc; 147 struct turnstile *ts; 148 struct thread *td1; 149 int pri; 150 151 mtx_assert(&sched_lock, MA_OWNED); 152 pri = td->td_priority; 153 ts = td->td_blocked; 154 for (;;) { 155 td = ts->ts_owner; 156 157 if (td == NULL) { 158 /* 159 * This really isn't quite right. Really 160 * ought to bump priority of thread that 161 * next acquires the lock. 162 */ 163 return; 164 } According to my first mail isn't td_blocked = 0x0? And wouldn't that make line 155 fail? br db
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040418162827.4d97f2d7>