[GSoC] BAT vs Pages on PowerPC [Please give a feedback]
Thomas Doerfler
Thomas.Doerfler at embedded-brains.de
Sun Jun 23 10:32:21 UTC 2013
Chris,
Am 23.06.2013 03:46, schrieb Chris Johns:
> Thomas Dörfler wrote:
>>
>
>> Note that the pages usually only cover 4K of
>> memory, and the "translation lookaside buffer" (TLB) only maintains the
>> last 16-64 used pages,
>
> The ARM which I am currently using and have handy seems to support 1MB,
> 64K and 4K ranges depending on the TLB table level used. I would be
> surprised if an entry was needed for each page in use.
Classic PowerPC ist not that flexible. The 603(e) core, that is quite
often used in PPC controllers, has a fixed page table entry size of 4K,
so the number of TLB entries (the "page cache") will never cover the
whole lot of pages for a suitable memory size.
So for this derivative (and many others) it's "Use (statically
initialized) BATs or (dynamically reloaded) TLB entries".
Thomas.
--
--------------------------------------------
embedded brains GmbH
Thomas Doerfler
Dornierstr. 4
D-82178 Puchheim
Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18 94 741-12
Fax: +49-89-18 94 741-09
PGP: Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list