summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-04-05 10:00:37 +0000
committerbde <bde@FreeBSD.org>2002-04-05 10:00:37 +0000
commit572176e33da7505391d5ad4df8f75fae37b99512 (patch)
tree5c03aff67b9dc5f1dbec3cf63ea9b2b20b3bc74e /sys/kern/subr_smp.c
parent7aa4d52726b8d3a2e2f3e791540a24c2683656d4 (diff)
downloadFreeBSD-src-572176e33da7505391d5ad4df8f75fae37b99512.zip
FreeBSD-src-572176e33da7505391d5ad4df8f75fae37b99512.tar.gz
Updated a doubly stale comment about signotify(). Fixed a nearby long line.
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r--sys/kern/subr_smp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index 77d0df4..9dad93b 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -119,12 +119,13 @@ forward_signal(struct thread *td)
int id;
/*
- * signotify() has already set PS_ASTPENDING on this process so all
- * we need to do is poke it if it is currently executing so that it
- * executes ast().
+ * signotify() has already set KEF_ASTPENDING and PS_NEEDSIGCHECK on
+ * this process, so all we need to do is poke it if it is currently
+ * executing so that it executes ast().
*/
mtx_assert(&sched_lock, MA_OWNED);
- KASSERT(td->td_proc->p_stat == SRUN, ("forward_signal: process is not SRUN"));
+ KASSERT(td->td_proc->p_stat == SRUN,
+ ("forward_signal: process is not SRUN"));
CTR1(KTR_SMP, "forward_signal(%p)", td->td_proc);
OpenPOWER on IntegriCloud