From owner-freebsd-hackers Thu Apr 30 10:21:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12878 for freebsd-hackers-outgoing; Thu, 30 Apr 1998 10:21:57 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from zwei.siemens.at (zwei.siemens.at [193.81.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA12821 for ; Thu, 30 Apr 1998 10:21:41 -0700 (PDT) (envelope-from lada@pc8811.gud.siemens.at) Received: from pc8811.gud.siemens.at (root@firix [10.1.143.100]) by zwei.siemens.at with ESMTP id TAA10932 for ; Thu, 30 Apr 1998 19:21:08 +0200 (MET DST) Received: from pc8811.gud.siemens.at (pc8811.gud.siemens.co.at [195.3.22.159]) by pc8811.gud.siemens.at (8.8.8/8.8.8) with ESMTP id TAA29836; Thu, 30 Apr 1998 19:22:22 +0200 (CEST) (envelope-from lada@pc8811.gud.siemens.at) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.2.p0.FreeBSD:980430192222:29823=_" Date: Thu, 30 Apr 1998 19:22:22 +0200 (CEST) Organization: Siemens Austria AG From: Marino Ladavac To: hackers@FreeBSD.ORG Subject: ptread library patch Cc: lada@pc8811.gud.siemens.co.at Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format --_=XFMail.1.2.p0.FreeBSD:980430192222:29823=_ Content-Type: text/plain; charset=us-ascii A smallish patch concerning the priority boost for inactive runnable threads is attached. a PR has been submitted. /Marino ---------------------------------- Marino Ladavac Date: 30-Apr-98 Time: 19:19:57 ---------------------------------- --_=XFMail.1.2.p0.FreeBSD:980430192222:29823=_ Content-Disposition: attachment; filename="diff" Content-Transfer-Encoding: 7bit Content-Description: diff Content-Type: text/plain; charset=us-ascii; name=diff; SizeOnDisk=427 --- uthread_kern.c 1998/04/30 16:31:53 1.1 +++ uthread_kern.c 1998/04/30 16:34:33 @@ -349,7 +349,7 @@ * the last incremental priority check was * made: */ - else if (timercmp(&_thread_run->last_inactive, &kern_inc_prio_time, >)) { + else if (timercmp(&_thread_run->last_inactive, &kern_inc_prio_time, <)) { /* * Increment the incremental priority * for this thread in the hope that --_=XFMail.1.2.p0.FreeBSD:980430192222:29823=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message