From: Ralf Baechle <ralf@linux-mips.org>
To: Kip Walker <kwalker@broadcom.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH]: load_mmu for SMP systems
Date: Mon, 28 Apr 2003 02:56:39 +0200 [thread overview]
Message-ID: <20030428025639.A20753@linux-mips.org> (raw)
In-Reply-To: <3EA97D54.6910D49E@broadcom.com>; from kwalker@broadcom.com on Fri, Apr 25, 2003 at 11:24:20AM -0700
On Fri, Apr 25, 2003 at 11:24:20AM -0700, Kip Walker wrote:
> In SMP systems, each CPU needs to set up "current_cpu_data.tlbsize".
> Some CPUs do this initialization in cpu_probe, which is called both by
> init_arch and start_secondary. However, some CPUs do this in their TLB
> setup code, which is called via load_mmu. The SMP boot code doesn't
> currently call load_mmu() for the secondary CPUs. Here's a simple fix
> for the 2.4 tree.
I instead changed cpu-probe to set tlbsize properly. Nothing wrong with
your patch, it just fits better into my Grand Plan (TM) :-)
> TLB flush routines that have loops running up to tlbsize will lose if
> it's not set properly on all CPUs!
Yeah, they're going to be sort of slow. There must be a reason for all
those GHz processors ;-)
Ralf
next prev parent reply other threads:[~2003-04-28 0:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-25 18:24 [PATCH]: load_mmu for SMP systems Kip Walker
2003-04-25 18:28 ` Kip Walker
2003-04-28 0:56 ` Ralf Baechle [this message]
2003-04-28 14:43 ` Kip Walker
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=20030428025639.A20753@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=kwalker@broadcom.com \
--cc=linux-mips@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox