diff options
author | kmacy <kmacy@FreeBSD.org> | 2006-11-11 06:28:47 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2006-11-11 06:28:47 +0000 |
commit | d73c3c8f6e2458fe3d3e45a406fde211a01b2717 (patch) | |
tree | fa39a3c3365e6b9dd836e48d257ea0229237d993 /sys | |
parent | bdf3b7ba455ebceea952b7497fd650b0a1f7f0ae (diff) | |
download | FreeBSD-src-d73c3c8f6e2458fe3d3e45a406fde211a01b2717.zip FreeBSD-src-d73c3c8f6e2458fe3d3e45a406fde211a01b2717.tar.gz |
missed nits replacing mutex with lock
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_lock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_lock.c b/sys/kern/subr_lock.c index 25b26ae..3647618 100644 --- a/sys/kern/subr_lock.c +++ b/sys/kern/subr_lock.c @@ -85,7 +85,7 @@ struct mtx lprof_locks[LPROF_LOCK_SIZE]; static int lock_prof_acquisitions; SYSCTL_INT(_debug_lock_prof, OID_AUTO, acquisitions, CTLFLAG_RD, - &lock_prof_acquisitions, 0, "Number of mutex acquistions recorded"); + &lock_prof_acquisitions, 0, "Number of lock acquistions recorded"); static int lock_prof_records; SYSCTL_INT(_debug_lock_prof, OID_AUTO, records, CTLFLAG_RD, &lock_prof_records, 0, "Number of profiling records"); @@ -184,10 +184,10 @@ reset_lock_prof_stats(SYSCTL_HANDLER_ARGS) } SYSCTL_PROC(_debug_lock_prof, OID_AUTO, stats, CTLTYPE_STRING | CTLFLAG_RD, - NULL, 0, dump_lock_prof_stats, "A", "Mutex profiling statistics"); + NULL, 0, dump_lock_prof_stats, "A", "Lock profiling statistics"); SYSCTL_PROC(_debug_lock_prof, OID_AUTO, reset, CTLTYPE_INT | CTLFLAG_RW, - NULL, 0, reset_lock_prof_stats, "I", "Reset mutex profiling statistics"); + NULL, 0, reset_lock_prof_stats, "I", "Reset lock profiling statistics"); #endif void @@ -379,7 +379,7 @@ void _lock_profile_release_lock(struct lock_object *lo) } LPROF_LOCK(hash); /* - * Record if the mutex has been held longer now than ever + * Record if the lock has been held longer now than ever * before. */ if (now - acqtime > mpp->cnt_max) |