Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2003 22:29:34 -0500 (EST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Jeff Roberson <jeff@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern sched_ule.c
Message-ID:  <20031102222853.V10222-100000@mail.chesapeake.net>
In-Reply-To: <200311030327.hA33RMPX071380@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031102222853.V10222-100000>