From owner-cvs-all Wed Sep 19 15:57:56 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 722F437B41C; Wed, 19 Sep 2001 15:57:51 -0700 (PDT) Received: from laptop.baldwin.cx ([147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id PAA12744; Wed, 19 Sep 2001 15:57:50 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200109192252.f8JMqxH28006@freefall.freebsd.org> Date: Wed, 19 Sep 2001 15:57:37 -0700 (PDT) From: John Baldwin To: julian@FreeBSD.org Subject: RE: cvs commit: src/sys/kern kern_mutex.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 -- 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