Date: Tue, 21 Sep 2010 19:12:22 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r212974 - head/sys/kern Message-ID: <201009211912.o8LJCM4t004208@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Tue Sep 21 19:12:22 2010 New Revision: 212974 URL: http://svn.freebsd.org/changeset/base/212974 Log: Comment nit, set TDF_NEEDRESCHED after the comment describing why it is done rather than before. MFC after: 1 week Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c ============================================================================== --- head/sys/kern/sched_ule.c Tue Sep 21 18:25:33 2010 (r212973) +++ head/sys/kern/sched_ule.c Tue Sep 21 19:12:22 2010 (r212974) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009211912.o8LJCM4t004208>