Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 1998 19:22:22 +0200 (CEST)
From:      Marino Ladavac <lada@pc8811.gud.siemens.at>
To:        hackers@FreeBSD.ORG
Cc:        lada@pc8811.gud.siemens.co.at
Subject:   ptread library patch
Message-ID:  <XFMail.980430192222.lada@pc8811.gud.siemens.at>

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



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