linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@netx4.com>
To: Alan Mimms <alan@packetengines.com>
Cc: Christer Weinigel <wingel@cendio.se>,
	linuxppc-embedded@lists.linuxppc.org
Subject: Re: WARNING OFF TOPIC SLIGHTLY: 8xx MMU w/8MB pages
Date: Wed, 19 Jan 2000 11:04:02 -0500	[thread overview]
Message-ID: <3885E072.19105531@netx4.com> (raw)
In-Reply-To: 0001181114300A.00752@alan.corp.packetengines.com


Alan Mimms wrote:


> I would like to suggest that using one or two 512MB pages


That isn't what I would do.  You can map the entire kernel
instruction space with a single 8M entry.  You can map the
entire static data space with another 8M entry.  You can
map frequently used I/O with another 8M data entry.

You have to move the VM map so dynamically allocated data
doesn't overlap the 8M page.  You have to make sure dynamically
loaded modules don't overlap the 8M instruction map.  Or, make
sure they overlap entirely (either way is fine, just don't mix
it up).  You can modify the ioremap() functions to operate more
like they do on the processors with BATs.

All of these are likely to be useful in most applications.  They
don't require any Linux VM or TLB software changes.  All you
need to change are some #define configuration vaules in a couple
of VM/MMU header files and slightly change the MMU initialization.

Maybe I'll do this later today.....I have been thinking about it
long enough.



	-- Dan

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

  reply	other threads:[~2000-01-19 16:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-18 18:28 WARNING OFF TOPIC SLIGHTLY: 8xx MMU w/8MB pages Christer Weinigel
2000-01-18 18:56 ` Dan Malek
2000-01-18 19:11   ` Alan Mimms
2000-01-19 16:04     ` Dan Malek [this message]
2000-01-18 19:55   ` Christer Weinigel
  -- strict thread matches above, loose matches on Subject: below --
2000-01-17 22:59 Alan Mimms

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=3885E072.19105531@netx4.com \
    --to=dan@netx4.com \
    --cc=alan@packetengines.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=wingel@cendio.se \
    /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).