BAT mapping exported to user-space

Oliver Korpilla okorpil at fh-landshut.de
Wed Jul 28 18:12:19 EST 2004


Linh Dang wrote:
> Dan Malek <dan at 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/





More information about the Linuxppc-embedded mailing list