linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Do we need tlbsx at finish_tlb_load?
Date: Thu, 30 May 2002 18:04:34 +1000	[thread overview]
Message-ID: <20020530080434.GY16537@zax> (raw)


A question to Dan and Tom in particular:

At the moment on 4xx, just after finish_tlb_load, which is called by
both the TLB miss handlers, we do a tlbsx to see if an entry for this
virtual address already exists.

Since this code is only called from the TLB miss handler, I can't see
how there could ever be a valid TLB entry present at this point.
There is a comment claiming that this path can be hit under some
circumstances, but it doesn't make sense to me.

Is there any situation where we can reach this point with a valid TLB
entry existing for the faulting address?

--
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2002-05-30  8:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-30  8:04 David Gibson [this message]
2002-06-03  2:43 ` Do we need tlbsx at finish_tlb_load? David Gibson
2002-06-04  0:19   ` Dan Malek
2002-06-04  3:48     ` David Gibson
2002-06-04 12:52     ` Paul Mackerras
2002-06-04 17:49       ` Dan Malek
2002-06-06  2:04         ` Paul Mackerras
2002-06-06  5:06           ` Dan Malek

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=20020530080434.GY16537@zax \
    --to=david@gibson.dropbear.id.au \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).