Date: Thu, 12 Aug 2004 07:56:33 +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: <200408120756.i7C7uXOQ011743@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2004-08-12 07:56:33 UTC FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Introduce a new flag KEF_HOLD that prevents sched_add() from doing a migration. Use this in sched_prio() and sched_switch() to stop us from migrating threads that are in short term sleeps or are runnable. These extra migrations were added in the patches to support KSE. - Only set NEEDRESCHED if the thread we're adding in sched_add() is a lower priority and is being placed on the current queue. - Fix some minor whitespace problems. Revision Changes Path 1.121 +19 -7 src/sys/kern/sched_ule.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408120756.i7C7uXOQ011743>