diff options
-rw-r--r-- | sys/sys/lock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/lock.h b/sys/sys/lock.h index 99a7e5d..b10b54a 100644 --- a/sys/sys/lock.h +++ b/sys/sys/lock.h @@ -106,7 +106,7 @@ struct lock_class { * Lock instances. A lock instance is the data associated with a lock while * it is held by witness. For example, a lock instance will hold the * recursion count of a lock. Lock instances are held in lists. Spin locks - * are held in a per-cpu list while sleep locks are held in per-process list. + * are held in a per-cpu list while sleep locks are held in per-thread list. */ struct lock_instance { struct lock_object *li_lock; @@ -116,9 +116,9 @@ struct lock_instance { }; /* - * A simple list type used to build the list of locks held by a process + * A simple list type used to build the list of locks held by a thread * or CPU. We can't simply embed the list in struct lock_object since a - * lock may be held by more than one process if it is a shared lock. Locks + * lock may be held by more than one thread if it is a shared lock. Locks * are added to the head of the list, so we fill up each list entry from * "the back" logically. To ease some of the arithmetic, we actually fill * in each list entry the normal way (childer[0] then children[1], etc.) but |