mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Galbraith <efault@gmx.de>
To: Con Kolivas <kernel@kolivas.org>,
	linux kernel mailing list <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@digeo.com>
Subject: Re: 2.5.64-mm2->4 hangs on contest
Date: Mon, 10 Mar 2003 11:31:27 +0100	[thread overview]
Message-ID: <5.2.0.9.2.20030310113024.02080868@pop.gmx.net> (raw)
In-Reply-To: <5.2.0.9.2.20030310105217.00cd25b0@pop.gmx.net>

[-- Attachment #1: Type: text/plain, Size: 26 bytes --]

Ahem.  Attached this time.

[-- Attachment #2: buttugly.diff --]
[-- Type: application/octet-stream, Size: 434 bytes --]

--- kernel/sched.c.org	Mon Mar 10 08:40:31 2003
+++ kernel/sched.c	Mon Mar 10 11:35:19 2003
@@ -340,7 +340,7 @@
 		 * the higher the average gets - and the higher the priority
 		 * boost gets as well.
 		 */
-		p->sleep_avg += sleep_time;
+		p->sleep_avg += sleep_time / (1 + rq->nr_running);
 		if (p->sleep_avg > MAX_SLEEP_AVG) {
 			int ticks = p->sleep_avg - MAX_SLEEP_AVG + current->sleep_avg;
 			p->sleep_avg = MAX_SLEEP_AVG;

  parent reply	other threads:[~2003-03-10 10:16 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5.2.0.9.2.20030310075720.00c832f8@pop.gmx.net>
2003-03-10  9:12 ` Con Kolivas
2003-03-10 10:05   ` Mike Galbraith
2003-03-10 10:21     ` William Lee Irwin III
2003-03-10 10:29     ` Mike Galbraith
2003-03-10 10:27       ` Con Kolivas
2003-03-12  9:21       ` Mike Galbraith
2003-03-12 10:25         ` Con Kolivas
2003-03-12 10:37           ` Mike Galbraith
2003-03-12 11:19             ` Con Kolivas
2003-03-12 12:30               ` Mike Galbraith
2003-03-13  1:22                 ` Con Kolivas
2003-03-13  3:39                   ` Mike Galbraith
2003-03-13  4:31                     ` Mike Galbraith
2003-03-10 10:31     ` Mike Galbraith [this message]
2003-03-10 10:31       ` Con Kolivas
2003-03-10 10:43         ` Mike Galbraith
2003-03-10 10:42           ` Con Kolivas
2003-03-10 10:54             ` Mike Galbraith
     [not found] <fa.ie98jja.2hkdj6@ifi.uio.no>
     [not found] ` <fa.j59micm.1fhqe9k@ifi.uio.no>
2003-03-10 12:43   ` Ed Tomlinson
2003-03-10 12:47     ` Con Kolivas
2003-03-10 13:41     ` Mike Galbraith
2003-03-10 13:41       ` Ed Tomlinson
2003-03-10 14:12         ` Mike Galbraith
2003-03-10 14:04     ` Mike Galbraith
2003-03-10  2:29 Con Kolivas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.2.0.9.2.20030310113024.02080868@pop.gmx.net \
    --to=efault@gmx.de \
    --cc=akpm@digeo.com \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®