Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2022 00:29:43 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 623220ac78e1 - stable/13 - sleepq_check_ast_sc_locked(): update comment
Message-ID:  <202208230029.27N0ThkO032496@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=623220ac78e1733204de6859352aa968ca3615ab

commit 623220ac78e1733204de6859352aa968ca3615ab
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-08-12 00:19:36 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-08-22 13:37:09 +0000

    sleepq_check_ast_sc_locked(): update comment
    
    (cherry picked from commit da39a100dbfe60da6512a8b230386b1105c42445)
---
 sys/kern/subr_sleepqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c
index b9a336c88041..0ed7427401c9 100644
--- a/sys/kern/subr_sleepqueue.c
+++ b/sys/kern/subr_sleepqueue.c
@@ -482,7 +482,7 @@ sleepq_check_ast_sc_locked(struct thread *td, struct sleepqueue_chain *sc)
 	 * Lock the per-process spinlock prior to dropping the
 	 * PROC_LOCK to avoid a signal delivery race.
 	 * PROC_LOCK, PROC_SLOCK, and thread_lock() are
-	 * currently held in tdsendsignal().
+	 * currently held in tdsendsignal() and thread_single().
 	 */
 	PROC_SLOCK(p);
 	mtx_lock_spin(&sc->sc_lock);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208230029.27N0ThkO032496>