public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET] Linux 2.4.19-pre7-jam4
@ 2002-04-22  1:11 J.A. Magallon
  0 siblings, 0 replies; 4+ messages in thread
From: J.A. Magallon @ 2002-04-22  1:11 UTC (permalink / raw)
  To: Lista Linux-Kernel

Hi all.

New version of my patch collection.
This version includes to main updates: ide-6 and the updated version of
the O(1) scheduler, backpòrted from 2.5 by Robet Love.

Main features: vm-33 + sched-O1-rml + mini-low-latency
Bonus: ide-6 + bproc-3.1.9 + netconsole.

Get it at:

http://giga.cps.unizar.es/~magallon/linux/kernel/2.4.19-pre7-jam4.tar.gz
http://giga.cps.unizar.es/~magallon/linux/kernel/2.4.19-pre7-jam4/

See README for full credits and origins of patches.

Enjoy !!

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.3 (Cooker) for i586
Linux werewolf 2.4.19-pre7-jam4 #1 SMP lun abr 22 00:52:56 CEST 2002 i686

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [PATCHSET] Linux 2.4.19-pre7-jam4
@ 2002-04-22  6:30 Norbert Kiesel
  2002-04-22  7:40 ` J.A. Magallon
  0 siblings, 1 reply; 4+ messages in thread
From: Norbert Kiesel @ 2002-04-22  6:30 UTC (permalink / raw)
  To: jamagallon; +Cc: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1060 bytes --]

Hi,

I had two compile problems:
1) sched.c complains about missing local_bh_count, TQUEUE_BH, ...
2) init/do_mounts.c complains about SCHED_YIELD (if initrd is enabled)

The following patch fixes both problems for me.

--nk

diff -ur linux/init/do_mounts.c linux-nk/init/do_mounts.c
--- linux/init/do_mounts.c	Sun Apr 21 23:04:20 2002
+++ linux-nk/init/do_mounts.c	Sun Apr 21 21:01:41 2002
@@ -775,8 +775,7 @@
 	pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
 	if (pid > 0) {
 		while (pid != wait(&i)) {
-			current->policy |= SCHED_YIELD;
-			schedule();
+			yield();
 		}
 	}
 
diff -ur linux/kernel/sched.c linux-nk/kernel/sched.c
--- linux/kernel/sched.c	Sun Apr 21 23:16:06 2002
+++ linux-nk/kernel/sched.c	Sun Apr 21 21:24:59 2002
@@ -19,6 +19,7 @@
 #include <linux/smp_lock.h>
 #include <asm/mmu_context.h>
 #include <linux/kernel_stat.h>
+#include <linux/interrupt.h>
 
 /*
  * Priority of a process goes from 0 to MAX_PRIO-1.  The

-- 
Key fingerprint = 6C58 F18D 4747 3295 F2DB  15C1 3882 4302 F8B4 C11C

[-- Attachment #1.2: diff.nk --]
[-- Type: text/x-patch, Size: 747 bytes --]

diff -ur linux/init/do_mounts.c linux-nk/init/do_mounts.c
--- linux/init/do_mounts.c	Sun Apr 21 23:04:20 2002
+++ linux-nk/init/do_mounts.c	Sun Apr 21 21:01:41 2002
@@ -775,8 +775,7 @@
 	pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
 	if (pid > 0) {
 		while (pid != wait(&i)) {
-			current->policy |= SCHED_YIELD;
-			schedule();
+			yield();
 		}
 	}
 
diff -ur linux/kernel/sched.c linux-nk/kernel/sched.c
--- linux/kernel/sched.c	Sun Apr 21 23:16:06 2002
+++ linux-nk/kernel/sched.c	Sun Apr 21 21:24:59 2002
@@ -19,6 +19,7 @@
 #include <linux/smp_lock.h>
 #include <asm/mmu_context.h>
 #include <linux/kernel_stat.h>
+#include <linux/interrupt.h>
 
 /*
  * Priority of a process goes from 0 to MAX_PRIO-1.  The

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

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

end of thread, other threads:[~2002-04-22 12:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-22  1:11 [PATCHSET] Linux 2.4.19-pre7-jam4 J.A. Magallon
  -- strict thread matches above, loose matches on Subject: below --
2002-04-22  6:30 Norbert Kiesel
2002-04-22  7:40 ` J.A. Magallon
2002-04-22 12:44   ` Robert Love

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