Date: Sat, 20 Jan 2007 09:03:43 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sched_ule.c Message-ID: <200701200903.l0K93hsE059379@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2007-01-20 09:03:43 UTC FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - In tdq_transfer() always set NEEDRESCHED when necessary regardless of the ipi settings. If NEEDRESCHED is set and an ipi is later delivered it will clear it rather than cause extra context switches. However, if we miss setting it we can have terrible latency. - In sched_bind() correctly implement bind. Also be slightly more tolerant of code which calls bind multiple times. However, we don't change binding if another call is made with a different cpu. This does not presently work with hwpmc which I believe should be changed. Revision Changes Path 1.180 +25 -15 src/sys/kern/sched_ule.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701200903.l0K93hsE059379>