svn commit: r357311 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Thu Jan 30 20:02:15 UTC 2020
Author: mjg
Date: Thu Jan 30 20:02:14 2020
New Revision: 357311
URL: https://svnweb.freebsd.org/changeset/base/357311
Log:
Tidy up 2 comments in smp_rendezvous_cpus.
Modified:
head/sys/kern/subr_smp.c
Modified: head/sys/kern/subr_smp.c
==============================================================================
--- head/sys/kern/subr_smp.c Thu Jan 30 19:57:05 2020 (r357310)
+++ head/sys/kern/subr_smp.c Thu Jan 30 20:02:14 2020 (r357311)
@@ -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);
More information about the svn-src-all
mailing list