cvs commit: src/sys/kern sched_4bsd.c

John Baldwin jhb at FreeBSD.org
Tue Jul 13 13:49:14 PDT 2004


jhb         2004-07-13 20:49:13 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sched_4bsd.c 
  Log:
  Set TDF_NEEDRESCHED when a higher priority thread is scheduled in
  sched_add() rather than just doing it in sched_wakeup().  The old
  ithread preemption code used to set NEEDRESCHED unconditionally if it
  didn't preempt which masked this bug in SCHED_4BSD.
  
  Noticed by:     jake
  Reported by:    kensmith, marcel
  
  Revision  Changes    Path
  1.44      +1 -1      src/sys/kern/sched_4bsd.c


More information about the cvs-src mailing list