linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Korpilla <okorpil@fh-landshut.de>
To: Linh Dang <linh@linhdang.home>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: BAT mapping exported to user-space
Date: Wed, 28 Jul 2004 10:12:19 +0200	[thread overview]
Message-ID: <41075FE3.1040008@fh-landshut.de> (raw)
In-Reply-To: <wn58yd5p7og.fsf@linhd-2.ca.nortel.com>


Linh Dang wrote:
> Dan Malek <dan@embeddededge.com> wrote:
>
>>On Jul 27, 2004, at 1:34 PM, Dang, Linh [CAR:2X23:EXCH] wrote:
>>
>>>>cat /proc/ppc_htab
>>>
>>>PTE Hash Table Information
>>
>>You misunderstand. This is the PPC Hash table, not Linux PTEs. There
>>are lots and lots and lots of Linux PTEs are are eventually loaded
>>into the PPC hash table for the processor to fetch.
>
> Thanx for pointing that out. I have to dig further. I guess it would
> come down to how much pressure using pages for mapping our asics
> (instead of BATs) would have on the TLBs.

Maybe you want to have a look at the book "Understanding the Linux Virtual
Memory Manager". Though clearly not PowerPC-specific (as always this book, too,
focuses on the x86), it's a recommended buy for understanding how paging etc.
works with Linux. It does explain the non-architecture-specific part rather
thoroughly.

Then, together with the "Programming Environments Manual For 32-Bit
Implementations of the PowerPC Architecture" (from Motorola), this
should give you a good understanding of what's going on, and how Linux
is handling this stuff.

With kind regards,
Oliver Korpilla

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

      parent reply	other threads:[~2004-07-28  8:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-26 17:20 BAT mapping exported to user-space Linh Dang
2004-07-26 18:09 ` Dan Malek
2004-07-26 18:33   ` Linh Dang
2004-07-27  1:18     ` Dan Malek
2004-07-27  2:27       ` Linh Dang
2004-07-27 16:36         ` Dan Malek
2004-07-27 17:34           ` Dang, Linh [CAR:2X23:EXCH]
2004-07-27 18:02             ` Dan Malek
2004-07-27 19:32               ` Linh Dang
2004-07-27 20:09                 ` Dan Malek
2004-07-28  8:12                 ` Oliver Korpilla [this message]

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=41075FE3.1040008@fh-landshut.de \
    --to=okorpil@fh-landshut.de \
    --cc=linh@linhdang.home \
    --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).