git: 623220ac78e1 - stable/13 - sleepq_check_ast_sc_locked(): update comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Aug 2022 00:29:43 UTC
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);