From: Mike Galbraith <efault@gmx.de>
To: linux kernel mailing list <linux-kernel@vger.kernel.org>
Cc: Con Kolivas <kernel@kolivas.org>, Andrew Morton <akpm@digeo.com>
Subject: Re: 2.5.64-mm2->4 hangs on contest
Date: Wed, 12 Mar 2003 10:21:17 +0100 [thread overview]
Message-ID: <5.2.0.9.2.20030312101646.00c8e238@pop.gmx.net> (raw)
In-Reply-To: <5.2.0.9.2.20030310112452.00ce87b8@pop.gmx.net>
[-- Attachment #1: Type: text/plain, Size: 109 bytes --]
I can't help myself... the attached is just too simple and works too darn well.
Somebody stop me! :)
-Mike
[-- Attachment #2: bk5_sched.diff --]
[-- Type: application/octet-stream, Size: 571 bytes --]
--- linux-2.5.64-bk5/kernel/sched.c.org Wed Mar 12 08:51:11 2003
+++ linux-2.5.64-bk5/kernel/sched.c Wed Mar 12 10:36:30 2003
@@ -397,6 +397,10 @@
rq->nr_uninterruptible++;
dequeue_task(p, p->array);
p->array = NULL;
+#if 1
+ if (p->sleep_avg)
+ p->sleep_avg--;
+#endif
}
/*
@@ -1228,8 +1232,10 @@
* it possible for interactive tasks to use up their
* timeslices at their highest priority levels.
*/
+#if 0
if (p->sleep_avg)
p->sleep_avg--;
+#endif
if (unlikely(rt_task(p))) {
/*
* RR tasks need a special form of timeslice management.
next prev parent reply other threads:[~2003-03-12 9:06 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 [this message]
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
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.20030312101646.00c8e238@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®