From owner-cvs-src@FreeBSD.ORG Thu Feb 8 01:52:30 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 170C016A402; Thu, 8 Feb 2007 01:52:26 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E403513C471; Thu, 8 Feb 2007 01:52:25 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l181qPL8045644; Thu, 8 Feb 2007 01:52:25 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l181qPQQ045643; Thu, 8 Feb 2007 01:52:25 GMT (envelope-from jeff) Message-Id: <200702080152.l181qPQQ045643@repoman.freebsd.org> From: Jeff Roberson Date: Thu, 8 Feb 2007 01:52:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sys runq.h src/sys/kern kern_switch.c sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2007 01:52:30 -0000 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