Date: Thu, 30 Jan 2020 20:02:15 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r357311 - head/sys/kern Message-ID: <202001302002.00UK2FF5011659@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001302002.00UK2FF5011659>