From owner-cvs-all Sat Sep 22 14:19:58 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 E77EB37B420; Sat, 22 Sep 2001 14:19:55 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8MLJtI32721; Sat, 22 Sep 2001 14:19:55 -0700 (PDT) (envelope-from jhb) Message-Id: <200109222119.f8MLJtI32721@freefall.freebsd.org> From: John Baldwin Date: Sat, 22 Sep 2001 14:19:55 -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 2001/09/22 14:19:55 PDT Modified files: sys/kern kern_mutex.c sys/sys mutex.h Log: Since we no longer inline any debugging code in the mutex operations, move all the debugging code into the function versions of the mutex operations in kern_mutex.c. This reduced the __mtx_* macros to simply wrappers of the _{get,rel}_lock_* macros, so the __mtx_* macros were also abolished in favor of just calling the _{get,rel}_lock_* macros. The tangled hairy mass of macros calling macros is at least a bit more sane now. Revision Changes Path 1.70 +25 -5 src/sys/kern/kern_mutex.c 1.41 +5 -45 src/sys/sys/mutex.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message