Date: Wed, 2 Oct 2002 13:31:47 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> 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 Message-ID: <200210022031.g92KVlxS066733@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210022031.g92KVlxS066733>
