Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2007 23:50:40 +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:  <200710082350.l98NoeAg090687@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2007-10-08 23:50:40 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sched_ule.c 
  Log:
   - Bail out of tdq_idled if !smp_started or idle stealing is disabled.  This
     fixes a bug on UP machines with SMP kernels where the idle thread
     constantly switches after trying to steal work from the local cpu.
   - Make the idle stealing code more robust against self selection.
   - Prefer to steal from the cpu with the highest load that has at least one
     transferable thread.  Before we selected the cpu with the highest
     transferable count which excludes bound threads.
  
  Collaborated with:      csjp
  Approved by:            re
  
  Revision  Changes    Path
  1.214     +14 -8     src/sys/kern/sched_ule.c



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