From owner-cvs-all Tue May 21 13:34:32 2002 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 9ECF837B400; Tue, 21 May 2002 13:34:28 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4LKYSj49339; Tue, 21 May 2002 13:34:28 -0700 (PDT) (envelope-from jhb) Message-Id: <200205212034.g4LKYSj49339@freefall.freebsd.org> From: John Baldwin Date: Tue, 21 May 2002 13:34:28 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mutex.c src/sys/sys mutex.h 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 2002/05/21 13:34:28 PDT Modified files: sys/kern kern_mutex.c sys/sys mutex.h Log: Optimize spin mutexes for UP kernels without debugging to just enter and exit critical sections. We only contest on a spin mutex on an SMP kernel running on an SMP machine. Revision Changes Path 1.91 +8 -0 src/sys/kern/kern_mutex.c 1.56 +7 -2 src/sys/sys/mutex.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message