diff options
author | jhb <jhb@FreeBSD.org> | 2010-09-21 19:12:22 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-09-21 19:12:22 +0000 |
commit | e350ad793087b30ced8e7d1458e45104406a7bee (patch) | |
tree | a46c301465857eead35a1ab8d1cc38188f074e9e /sys/kern/sched_ule.c | |
parent | a709074512b3610411370da94e396a0b513f0433 (diff) | |
download | FreeBSD-src-e350ad793087b30ced8e7d1458e45104406a7bee.zip FreeBSD-src-e350ad793087b30ced8e7d1458e45104406a7bee.tar.gz |
Comment nit, set TDF_NEEDRESCHED after the comment describing why it is
done rather than before.
MFC after: 1 week
Diffstat (limited to 'sys/kern/sched_ule.c')
-rw-r--r-- | sys/kern/sched_ule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index b8fd89f..4765c1c 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -2404,12 +2404,12 @@ sched_affinity(struct thread *td) } if (!TD_IS_RUNNING(td)) return; - td->td_flags |= TDF_NEEDRESCHED; /* * Force a switch before returning to userspace. If the * target thread is not running locally send an ipi to force * the issue. */ + td->td_flags |= TDF_NEEDRESCHED; if (td != curthread) ipi_cpu(ts->ts_cpu, IPI_PREEMPT); #endif |