All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: sparclinux@vger.kernel.org
Subject: Re: 2.6.5-mc2 switch_to() fix
Date: Thu, 08 Apr 2004 18:45:26 +0000	[thread overview]
Message-ID: <20040408114526.5fe0b9f0.davem@redhat.com> (raw)
In-Reply-To: <20040408122517.GD688@holomorphy.com>

On Thu, 8 Apr 2004 05:25:17 -0700
William Lee Irwin III <wli@holomorphy.com> wrote:

> This patch changes bne,pn to branch to a newly-introduced unconditional
> branch, which may accept larger relocations than the conditional branch.
> The branch delay slot of the converted conditional branch remains
> intact, preserving the semantics where mov %g5, %0 is done
> unconditionally. The annul bit is also set on the unconditional branch,
> which prevents the execution of any instruction that may occur in its
> branch delay slot from ever happening, rendering its position at the
> end of the assembly fragment safe.

This patch looks fine.  But I'm very curious what changed in the -mm
tree which moved the kernel/sched.o object so far away from the link
into the arch/sparc64/kernel/head.o object (which is where the
ret_from_syscall destination symbol is located).

Some Makefile or vmlinux.lds hacking has been taking place?  Actually,
doesn't Rusty's early setup stuff mess with things like that?

  reply	other threads:[~2004-04-08 18:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-08 12:25 2.6.5-mc2 switch_to() fix William Lee Irwin III
2004-04-08 18:45 ` David S. Miller [this message]
2004-04-08 19:03 ` Andrew Morton
2004-04-08 20:05 ` David S. Miller
2004-04-08 20:16 ` Andrew Morton
2004-04-08 20:17 ` David S. Miller

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=20040408114526.5fe0b9f0.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=sparclinux@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.