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

Jeff Roberson jeff at FreeBSD.org
Thu Feb 8 01:52:29 UTC 2007


jeff        2007-02-08 01:52:25 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              runq.h 
    sys/kern             kern_switch.c sched_ule.c 
  Log:
   - Change types for necent runq additions to u_char rather than int.
   - Fix these types in ULE as well.  This fixes bugs in priority index
     calculations in certain edge cases. (int)-1 % 64 != (uint)-1 % 64.
  
  Reported by:    kkenn using pho's stress2.
  
  Revision  Changes    Path
  1.129     +5 -5      src/sys/kern/kern_switch.c
  1.187     +4 -4      src/sys/kern/sched_ule.c
  1.10      +3 -3      src/sys/sys/runq.h


More information about the cvs-all mailing list