public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]O18int
@ 2003-08-22 12:31 Con Kolivas
  2003-08-22 13:41 ` [PATCH]O18int Wiktor Wodecki
  2003-08-22 22:40 ` [PATCH]O18int Felipe Alfaro Solana
  0 siblings, 2 replies; 11+ messages in thread
From: Con Kolivas @ 2003-08-22 12:31 UTC (permalink / raw)
  To: linux kernel mailing list; +Cc: Andrew Morton

[-- 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);
 		}

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-08-27 22:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-22 12:31 [PATCH]O18int Con Kolivas
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox