cvs commit: src/sys/kern sched_ule.c
Jeff Roberson
jroberson at chesapeake.net
Thu Aug 12 00:58:18 PDT 2004
On Thu, 12 Aug 2004, Jeff Roberson wrote:
> 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.
This patch brings my 'super-smack' performance in ULE above that of 4BSD.
worldstone seems unaffected. I would be interested in hearing about what
other performance changes there are as a result of this patch. I would
also be interested in hearing about cases where ULE is slower than 4BSD.
> - 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
>
More information about the cvs-src
mailing list