From 572176e33da7505391d5ad4df8f75fae37b99512 Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 5 Apr 2002 10:00:37 +0000 Subject: Updated a doubly stale comment about signotify(). Fixed a nearby long line. --- sys/kern/subr_smp.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'sys/kern/subr_smp.c') 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); -- cgit v1.1