mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] O(1) scheduler: asm offset changed
@ 2002-01-21  0:05 Robert Love
  0 siblings, 0 replies; only message in thread
From: Robert Love @ 2002-01-21  0:05 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-21  0:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-21  0:05 [PATCH] O(1) scheduler: asm offset changed Robert Love

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

all inboxes | Powered by JetHome®