• Thomas Gleixner's avatar
    x86: CPA, fix alias checks · c31c7d48
    Thomas Gleixner authored
    c_p_a() did not discover all aliases correctly. (such as when called
    on vmalloc()-ed areas or ioremap()-ed areas)
    
    Push the alias checks to the lower, physical level and consistently
    discover all aliases that might exist: the low direct mappings and
    the high linear kernel-text mappings (on 64-bit).
    
    Thanks to Andi Kleen for pointing out that this was buggy.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    c31c7d48
pageattr.c 20.6 KB