From owner-cvs-all Wed Oct 2 13:31:49 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FD1337B401; Wed, 2 Oct 2002 13:31:48 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B155543E7B; Wed, 2 Oct 2002 13:31:47 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g92KVlCo066734; Wed, 2 Oct 2002 13:31:47 -0700 (PDT) (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g92KVlxS066733; Wed, 2 Oct 2002 13:31:47 -0700 (PDT) Message-Id: <200210022031.g92KVlxS066733@freefall.freebsd.org> From: John Baldwin Date: Wed, 2 Oct 2002 13:31:47 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ddb db_ps.c src/sys/kern kern_mutex.c kern_proc.c kern_synch.c tty.c src/sys/sys proc.h user.h src/sys/vm vm_meter.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 2002/10/02 13:31:47 PDT Modified files: sys/ddb db_ps.c sys/kern kern_mutex.c kern_proc.c kern_synch.c tty.c sys/sys proc.h user.h sys/vm vm_meter.c Log: Rename the mutex thread and process states to use a more generic 'LOCK' name instead. (e.g., SLOCK instead of SMTX, TD_ON_LOCK() instead of TD_ON_MUTEX()) Eventually a turnstile abstraction will be added that will be shared with mutexes and other types of locks. SLOCK/TDI_LOCK will be used internally by the turnstile code and will not be specific to mutexes. Making the change now ensures that turnstiles can be dropped in at a later date without affecting the ABI of userland applications. Revision Changes Path 1.33 +3 -3 src/sys/ddb/db_ps.c 1.111 +13 -13 src/sys/kern/kern_mutex.c 1.160 +6 -6 src/sys/kern/kern_proc.c 1.200 +1 -1 src/sys/kern/kern_synch.c 1.189 +3 -3 src/sys/kern/tty.c 1.266 +7 -7 src/sys/sys/proc.h 1.50 +3 -3 src/sys/sys/user.h 1.66 +1 -1 src/sys/vm/vm_meter.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message