From: Con Kolivas <kernel@kolivas.org>
To: linux kernel mailing list <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>
Subject: [PATCH]O18int
Date: Fri, 22 Aug 2003 22:31:20 +1000 [thread overview]
Message-ID: <200308222231.25059.kernel@kolivas.org> (raw)
[-- Attachment #1: clearsigned data --]
[-- Type: Text/Plain, Size: 632 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Here is a small patchlet.
It is possible tasks were getting more sleep_avg credit on requeuing than they
could burn off while running so I've removed the on runqueue bonus to
requeuing task.
Note this applies onto O16.3 or 2.6.0-test3-mm3 as O17 was dropped.
This patch is also available here along with a patch against 2.6.0-test3:
http://kernel.kolivas.org/2.5
Con
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/Rg0aZUg7+tp6mRURAhw+AJ9s3xwkNodB280E81VZnizvSRU0RQCghKT/
IN6uMO2E4heihDxjBE/JG7c=
=5G4+
-----END PGP SIGNATURE-----
[-- Attachment #2: patch-O16.3-O18int --]
[-- Type: text/x-diff, Size: 527 bytes --]
--- linux-2.6.0-test3-mm2-O16.3/kernel/sched.c 2003-08-18 21:02:15.000000000 +1000
+++ linux-2.6.0-test3-mm3/kernel/sched.c 2003-08-22 22:06:46.000000000 +1000
@@ -1418,12 +1418,6 @@ void scheduler_tick(int user_ticks, int
dequeue_task(p, rq->active);
set_tsk_need_resched(p);
- /*
- * Tasks with interactive credit get all their
- * time waiting on the run queue credited as sleep
- */
- if (HIGH_CREDIT(p))
- p->activated = 2;
p->prio = effective_prio(p);
enqueue_task(p, rq->active);
}
next reply other threads:[~2003-08-22 12:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-22 12:31 Con Kolivas [this message]
2003-08-22 13:41 ` [PATCH]O18int Wiktor Wodecki
2003-08-22 13:51 ` [PATCH]O18int Con Kolivas
2003-08-22 14:56 ` [PATCH]O18int Wiktor Wodecki
[not found] ` <200308230103.19724.kernel@kolivas.org>
2003-08-22 15:46 ` [PATCH]O18int Wiktor Wodecki
2003-08-22 15:54 ` [PATCH]O18int Con Kolivas
2003-08-22 17:53 ` [PATCH]O18int Mike Fedyk
[not found] ` <200308222335.50318.insecure@mail.od.ua>
2003-08-22 20:44 ` [PATCH]O18int Wiktor Wodecki
2003-08-22 21:04 ` [PATCH]O18int Mike Fedyk
2003-08-22 22:40 ` [PATCH]O18int Felipe Alfaro Solana
2003-08-27 23:02 ` [PATCH]O18int Wes Janzen
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=200308222231.25059.kernel@kolivas.org \
--to=kernel@kolivas.org \
--cc=akpm@osdl.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