From: Dan Malek <dan@mvista.com>
To: frowand@mvista.com
Cc: Ralph Blach <rcblach@raleigh.ibm.com>,
linuxppc-dev <linuxppc-dev@lists.linuxppc.org>
Subject: Re: kernel mapping
Date: Tue, 16 Jan 2001 17:13:34 -0500 [thread overview]
Message-ID: <3A64C78E.90633885@mvista.com> (raw)
In-Reply-To: 3A64A751.8AA527CF@mvista.com
Frank Rowand wrote:
> At the moment, the 405 processors _require_ kernel memory to be
> pinned because the tlb miss handlers use virtual addresses.
I changed that, too. It works like the other processors, in
particular, the 8xx.
> ......... Then when I started seeing info
> about the 440 I backed away from that plan because the 440 always
> runs with the MMU enabled. I'm still thinking about the 440...
No way....Dammit can't you IBM guys follow your own rules :-).
> I pinned some IO ranges as a convenience when I was first porting
> to the 405gp but plan to remove those pins.
Those are actually performace advantages, and I am doing that
on some 8xx applications. The difference now is we don't have
to actually allocate specific "pinned" entries, the large mapping
will just happen as part of the TLB reload.
> I think that's a good idea. If you do so, please provide a way to
> force an entry to be locked in the tlb.
Nope. I don't want to do that. Then you have to make processor
specific trade offs, or incur high management overhead like the
405 does now. For example, some of the processors allow a fixed
number of locked entries, but you have to trade off what you will
put there against losing TLB entries. Or, you do like the 405
does and create a "software" locking, losing the use of some
very functional TLB management instructions.
By not locking entries and using large page table entries you don't
need to have processor unique configurations that are cumbersome
or unworkable on lesser featured processors. You also let the
system operation find the best distribution of TLB entries. Yes,
there is a clearly visible latency concern with loading TLBs, but
considering the amount of context we are switching these days a
single large page TLB miss is insignificant.
> I've toyed with the variable pages sizes idea too, and it just hasn't
> moved up high enough on my priority list. I'm not sure I'm quite as
> pessimistic as you about whether it will ever happen
It's going to happen with the 405 merge. It has to because I have
already screwed up and coded myself into a corner, and I want the
same features on the 8xx already as well.
-- Dan
--
I like MMUs because I don't have a real life.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-01-16 22:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-15 23:13 kernel mapping Dan Malek
2001-01-16 3:07 ` Frank Rowand
2001-01-16 3:55 ` Dan Malek
2001-01-16 11:37 ` Ralph Blach
2001-01-16 16:50 ` Dan Malek
2001-01-16 17:10 ` Ralph Blach
2001-01-16 17:47 ` David Edelsohn
2001-01-16 21:57 ` Dan Malek
2001-01-17 10:51 ` Gabriel Paubert
2001-01-17 17:45 ` David Edelsohn
2001-01-16 19:56 ` Frank Rowand
2001-01-16 22:13 ` Dan Malek [this message]
2001-01-17 0:04 ` Frank Rowand
2001-01-17 7:02 ` 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=3A64C78E.90633885@mvista.com \
--to=dan@mvista.com \
--cc=frowand@mvista.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=rcblach@raleigh.ibm.com \
/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.