cvs commit: src/sys/sys runq.h src/sys/kern kern_switch.c sched_4bsd.c

Jeff Roberson jeff at
Wed Mar 19 19:14:02 PDT 2008

jeff        2008-03-20 02:14:02 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              runq.h 
    sys/kern             kern_switch.c sched_4bsd.c 
   - Move maybe_preempt() from kern_switch.c to sched_4bsd.c.  This is function
     is only used by 4bsd.
   - Create a new runq_choose_fuzz() function rather than polluting runq_choose()
     with 4BSD specific code.
   - Move the fuzz sysctl into sched_4bsd.c
   - Remove some dead code from kern_switch.c
  Revision  Changes    Path
  1.141     +26 -113   src/sys/kern/kern_switch.c
  1.121     +89 -1     src/sys/kern/sched_4bsd.c
  1.11      +1 -0      src/sys/sys/runq.h

More information about the cvs-src mailing list