• H
    avr32: Store virtual addresses in the PGD · cfd23e93
    Haavard Skinnemoen 提交于
    Instead of storing physical addresses along with page flags in the
    PGD, store virtual addresses and use NULL to indicate a not present
    second-level page table. A non-page-aligned page table indicates a bad
    PMD.
    
    This simplifies the TLB miss handler since it no longer has to check
    the Present bit and no longer has to convert the PGD entry from
    physical to virtual address. Instead, it has to check for a NULL
    entry, which is slightly cheaper than either.
    Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
    cfd23e93
pgalloc.h 1.8 KB