cvs commit: src/sys/kern sched_ule.c

Jeff Roberson jeff at
Fri Aug 3 16:38:47 PDT 2007

jeff        2007-08-03 23:38:46 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sched_ule.c 
   - Share scheduler locks between hyper-threaded cores to protect the
     tdq_group structure.  Hyper-threaded cores won't really benefit from
     seperate locks anyway.
   - Seperate out the migration case from sched_switch to simplify the main
     switch code.  We only migrate here if called via sched_bind().
   - When preempted place the preempted thread back in the same queue at
     the head.
   - Improve the cpu group and topology infrastructure.
  Tested by:      many on current@
  Approved by:    re
  Revision  Changes    Path
  1.203     +200 -114  src/sys/kern/sched_ule.c

More information about the cvs-src mailing list