summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_unit.c4
-rw-r--r--sys/kern/subr_witness.c2
-rw-r--r--sys/kern/uipc_mbuf.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c
index 3f961a2..7f90a02 100644
--- a/sys/kern/subr_unit.c
+++ b/sys/kern/subr_unit.c
@@ -41,7 +41,7 @@
*
* If a mutex is not provided when the unit number space is created, a
* default global mutex is used. The advantage to passing a mutex in, is
- * that the the alloc_unrl() function can be called with the mutex already
+ * that the alloc_unrl() function can be called with the mutex already
* held (it will not be released by alloc_unrl()).
*
* The allocation function alloc_unr{l}() never sleeps (but it may block on
@@ -52,7 +52,7 @@
*
* A userland test program is included.
*
- * Memory usage is a very complex function of the the exact allocation
+ * Memory usage is a very complex function of the exact allocation
* pattern, but always very compact:
* * For the very typical case where a single unbroken run of unit
* numbers are allocated 44 bytes are used on i386.
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index e1c00fe..01de5ed 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -1175,7 +1175,7 @@ witness_checkorder(struct lock_object *lock, int flags, const char *file,
mtx_assert(&w_mtx, MA_OWNED);
/*
- * If we know that the the lock we are acquiring comes after
+ * If we know that the lock we are acquiring comes after
* the lock we most recently acquired in the lock order tree,
* then there is no need for any further checks.
*/
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 4e9ff6e..871132c 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -280,7 +280,7 @@ mb_free_ext(struct mbuf *m)
}
/*
- * Attach the the cluster from *m to *n, set up m_ext in *n
+ * Attach the cluster from *m to *n, set up m_ext in *n
* and bump the refcount of the cluster.
*/
static void
OpenPOWER on IntegriCloud