lkml.org 
[lkml]   [2002]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] O(1) scheduler: asm offset changed
From
Date
Ingo's O(1) scheduler moved the location of the processor entry in
task_struct (and also renamed it cpu). The hard coded offsets in
entry.S, however, were not updated.

This patch, against 2.5.3-pre2 + J2, sets the correct offset and renames
processor to cpu.

Note that nothing actually uses these offsets :-) at the moment but code
used to and may again. Most importantly, preempt-kernel does!

Thanks,

Robert Love

--- linux-2.5.3-pre2-ingo-J2/arch/i386/kernel/entry.S Sun Jan 20 18:50:45 2002
+++ linux/arch/i386/kernel/entry.S Sun Jan 20 18:50:48 2002@@ -77,7 +77,7 @@
exec_domain = 16
need_resched = 20
tsk_ptrace = 24
-processor = 52
+cpu = 32

ENOSYS = 38

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.042 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site