summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-01-30 20:02:14 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-01-30 20:02:14 +0000
commit2823710f0531037f228a43825c04d0c320e78e05 (patch)
tree478ca17fd74bf667b01adb08248c0be43c60056a /sys
parent8291e8874845b258acc349e9ac9c37d0b14046d3 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index 526560852e75..92d3264f224c 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -550,7 +550,7 @@ smp_rendezvous_cpus(cpuset_t map,
{
int curcpumap, i, ncpus = 0;
- /* Look comments in the !SMP case. */
+ /* See comments in the !SMP case. */
if (!smp_started) {
spinlock_enter();
if (setup_func != NULL)
@@ -565,7 +565,7 @@ smp_rendezvous_cpus(cpuset_t map,
/*
* Make sure we come here with interrupts enabled. Otherwise we
- * livelock if smp_ipi_mtx is owned by a thread which sent as an IPI.
+ * livelock if smp_ipi_mtx is owned by a thread which sent us an IPI.
*/
MPASS(curthread->td_md.md_spinlock_count == 0);