cvs commit: src/sys/kern sched_ule.c

Jeff Roberson jroberson at chesapeake.net
Sun Nov 2 19:29:36 PST 2003


On Sun, 2 Nov 2003, Jeff Roberson wrote:

> jeff        2003/11/02 19:27:22 PST
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/kern             sched_ule.c
>   Log:
>    - Remove kseq_find(), we no longer scan other cpu's run queues when we go
>      idle.  They figure out that we're idle fast enough that the cache pollution
>      introduces by scanning their run queue is more expensive than waiting
>      a little longer.

Er, contention, not pollution.

>    - Add kseq_setidle() to mark us as being idle.  Use this in place of
>      kseq_find().
>    - Remove kseq_load_highest(), kseq_find() was the only consumer of this
>      interface.  kseq_balance() has it's own customized version that finds the
>      lowest and highest loads simultaneously.
>
>   Continuously told that this would be faster by: terry

I hate it when he's right. ;-)  Noone tell him.

>
>   Revision  Changes    Path
>   1.76      +17 -66    src/sys/kern/sched_ule.c
>



More information about the cvs-all mailing list