lkml.org 
[lkml]   [2003]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH]O18int
Date
-----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-----
--- 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);
}
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.089 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site