From owner-cvs-all Mon Jun 25 11:29:38 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 786C237B40A; Mon, 25 Jun 2001 11:29:32 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5PITWT03318; Mon, 25 Jun 2001 11:29:32 -0700 (PDT) (envelope-from jhb) Message-Id: <200106251829.f5PITWT03318@freefall.freebsd.org> From: John Baldwin Date: Mon, 25 Jun 2001 11:29:32 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mutex.c X-FreeBSD-CVS-Branch: HEAD 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 jhb 2001/06/25 11:29:32 PDT Modified files: sys/kern kern_mutex.c Log: Count the context switch when blocking on a mutex as a voluntary context switch. Count the context switch when preempting the current thread to let a higher priority thread blocked on a mutex we just released run as an involuntary context switch. Reported by: bde Revision Changes Path 1.64 +4 -1 src/sys/kern/kern_mutex.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message