Date: Tue, 13 Jul 2004 20:49:13 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sched_4bsd.c Message-ID: <200407132049.i6DKnDMv076454@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2004-07-13 20:49:13 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c Log: Set TDF_NEEDRESCHED when a higher priority thread is scheduled in sched_add() rather than just doing it in sched_wakeup(). The old ithread preemption code used to set NEEDRESCHED unconditionally if it didn't preempt which masked this bug in SCHED_4BSD. Noticed by: jake Reported by: kensmith, marcel Revision Changes Path 1.44 +1 -1 src/sys/kern/sched_4bsd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407132049.i6DKnDMv076454>