cvs commit: src/sys/kern sched_ule.c
    Jeff Roberson 
    jeff at FreeBSD.org
       
    Sat Jun  7 17:47:34 PDT 2003
    
    
  
jeff        2003/06/07 17:47:33 PDT
  FreeBSD src repository
  Modified files:
    sys/kern             sched_ule.c 
  Log:
   - When a new thread is added to a kseq the load is incremented prior to
     adding it to the nice tables.  Therefore, in kseq_add_nice, we should
     keep in mind that the load will be 1 if we are the only thread, and not
     0.
   - Assert that the sched lock is held in all the appropriate places.
   - Increase the scope of the sched lock in sched_pctcpu_update().
   - Hold the sched lock in sched_runnable().  It is not held by the caller.
  
  Revision  Changes    Path
  1.35      +20 -5     src/sys/kern/sched_ule.c
    
    
More information about the cvs-all
mailing list