summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_cpuset.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-10-26 17:42:03 +0000
committerjhb <jhb@FreeBSD.org>2009-10-26 17:42:03 +0000
commit81dc521c47f759ff1f59aebb500df6b2e163630a (patch)
tree94dd7d2e1051e096ba1e769a5971d92e68958dd6 /sys/kern/kern_cpuset.c
parent43278f5e56e64167a5719f86542c408b7eddf62e (diff)
downloadFreeBSD-src-81dc521c47f759ff1f59aebb500df6b2e163630a.zip
FreeBSD-src-81dc521c47f759ff1f59aebb500df6b2e163630a.tar.gz
Fix some spelling nits.
Diffstat (limited to 'sys/kern/kern_cpuset.c')
-rw-r--r--sys/kern/kern_cpuset.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_cpuset.c b/sys/kern/kern_cpuset.c
index 91269e4..7f57bae 100644
--- a/sys/kern/kern_cpuset.c
+++ b/sys/kern/kern_cpuset.c
@@ -79,7 +79,7 @@ __FBSDID("$FreeBSD$");
* not. This means that anonymous sets are immutable because they may be
* shared. To modify an anonymous set a new set is created with the desired
* mask and the same parent as the existing anonymous set. This gives the
- * illusion of each thread having a private mask.A
+ * illusion of each thread having a private mask.
*
* Via the syscall apis a user may ask to retrieve or modify the root, base,
* or mask that is discovered via a pid, tid, or setid. Modifying a set
@@ -87,7 +87,7 @@ __FBSDID("$FreeBSD$");
* Modifying a pid or tid's mask applies only to that tid but must still
* exist within the assigned parent set.
*
- * A thread may not be assigned to a a group seperate from other threads in
+ * A thread may not be assigned to a a group separate from other threads in
* the process. This is to remove ambiguity when the setid is queried with
* a pid argument. There is no other technical limitation.
*
@@ -98,7 +98,7 @@ __FBSDID("$FreeBSD$");
*
* A simple application should not concern itself with sets at all and
* rather apply masks to its own threads via CPU_WHICH_TID and a -1 id
- * meaning 'curthread'. It may query availble cpus for that tid with a
+ * meaning 'curthread'. It may query available cpus for that tid with a
* getaffinity call using (CPU_LEVEL_CPUSET, CPU_WHICH_PID, -1, ...).
*/
static uma_zone_t cpuset_zone;
@@ -153,7 +153,7 @@ cpuset_refbase(struct cpuset *set)
}
/*
- * Release a reference in a context where it is safe to allocte.
+ * Release a reference in a context where it is safe to allocate.
*/
void
cpuset_rel(struct cpuset *set)
@@ -752,7 +752,7 @@ cpuset_setproc_update_set(struct proc *p, struct cpuset *set)
/*
* This is called once the final set of system cpus is known. Modifies
- * the root set and all children and mark the root readonly.
+ * the root set and all children and mark the root read-only.
*/
static void
cpuset_init(void *arg)
OpenPOWER on IntegriCloud