Re: [PATCH 02/11] MIPS: Revert fixrange_init() limiting to the FIXMAP region.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 13, 2014 at 12:05:34AM -0600, Steven J. Hill wrote:

> From: Leonid Yegoshin <Leonid.Yegoshin@xxxxxxxxxx>
> 
> This patch refactors commit 464fd83e841a16f4ea1325b33eb08170ef5cd1f4
> (MIPS: Limit fixrange_init() to the FIXMAP region) and correctly
> calculates the right length while taking into account page table
> alignment by PMD.

In that commit Kevin wrote:

    MIPS: Limit fixrange_init() to the FIXMAP region
    
    fixrange_init() allocates page tables for all addresses higher than
    FIXADDR_TOP.  On processors that override the default FIXADDR_TOP
    address of 0xfffe_0000, this can consume up to 4 pages (1 page per 4MB)
    for pgd's that are never used.

And that's all also reintroduced.  Think of bx 63xx which defines FIXADDR_TOP
as 0xff000000.  Blindly rounding up to 0 for the end address doesn't cut it.

  Ralf





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux