• Jan Beulich's avatar
    x86: Lift restriction on the location of FIX_BTMAP_* · 499a5f1e
    Jan Beulich authored
    The early ioremap fixmap entries cover half (or for 32-bit
    non-PAE, a quarter) of a page table, yet they got
    uncondtitionally aligned so far to a 256-entry boundary. This is
    not necessary if the range of page table entries anyway falls
    into a single page table.
    
    This buys back, for (theoretically) 50% of all configurations
    (25% of all non-PAE ones), at least some of the lowmem
    necessarily lost with commit e621bd18.
    Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    LKML-Reference: <4B2BB66F0200007800026AD6@vpn.id2.novell.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    499a5f1e
ioremap.c 15.6 KB