Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2007 01:52:25 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys runq.h src/sys/kern kern_switch.c sched_ule.c
Message-ID:  <200702080152.l181qPQQ045643@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702080152.l181qPQQ045643>