Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 15:57:37 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        julian@FreeBSD.org
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern kern_mutex.c
Message-ID:  <XFMail.010919155737.jhb@FreeBSD.org>
In-Reply-To: <200109192252.f8JMqxH28006@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 19-Sep-01 John Baldwin wrote:
> jhb         2001/09/19 15:52:59 PDT
> 
>   Modified files:
>     sys/kern             kern_mutex.c 
>   Log:
>   Fix a bug in propagate priority: the kse group pointer wasn't being
>   updated in the loop so the new thread always seemd to have the same
>   priority as the original thread and no actual priorities were changed.

As a sort of follow-up, Julian, can you explain why the oncpu == NOCPU test to
see if a thread is currently running (i.e., physically executing thus it's not
on a runqueue and there's nothing we can do to make it run any sooner) is
insufficient per new comments in the code?

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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