Query regarding Linux Arm pagetable setup

Dushyant Behl myselfdushyantbehl at gmail.com
Fri May 6 13:01:27 PDT 2016


On Thu, May 5, 2016 at 10:24 PM, Catalin Marinas
<catalin.marinas at arm.com> wrote:
> On Thu, May 05, 2016 at 04:17:08PM +0530, Dushyant Behl wrote:
>> Can someone explain how the kernel is using both the TTBR0 and TTBR1
>> and how some mappings which should've been present in TTBR1 are
>> actually used through the TTBR0 register?
>
> With the 3-1 split, TTBR1 only needs to cover 1GB of virtual memory.
> This means that Level 1 page table is disabled (pgd/pud) and the first 3
> pmd pages are also skipped. The architecture does not allow TTBRx sizes
> with a single entry at the top level, meaning that the number of levels
> must be reduced.

Aah, this is the reason why the table looked strange to me. Thanks.

--
Dushyant



More information about the linux-arm mailing list