From owner-cvs-all@FreeBSD.ORG Tue Jun 17 03:21:36 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14A5737B401; Tue, 17 Jun 2003 03:21:36 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A621A43F75; Tue, 17 Jun 2003 03:21:35 -0700 (PDT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5HALZ0U015846; Tue, 17 Jun 2003 03:21:35 -0700 (PDT) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5HALYfZ015839; Tue, 17 Jun 2003 03:21:34 -0700 (PDT) Message-Id: <200306171021.h5HALYfZ015839@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 17 Jun 2003 03:21:34 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 10:21:36 -0000 jeff 2003/06/17 03:21:34 PDT FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Temporarily patch a problem where the interact score could be negative because the run time exceeds the largest value a signed int can hold. The real solution involves calculating how far we are over the limit. To quickly solve this problem we loop removing 1/5th of the current value until it falls below the limit. The common case requires no passes. Revision Changes Path 1.43 +2 -1 src/sys/kern/sched_ule.c