mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: mingo@elte.hu
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] O(1) scheduler: asm offset changed
Date: 20 Jan 2002 19:05:11 -0500	[thread overview]
Message-ID: <1011571512.17096.371.camel@phantasy> (raw)

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


                 reply	other threads:[~2002-01-21  0:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1011571512.17096.371.camel@phantasy \
    --to=rml@tech9.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®