• T
    x86: CPA, fix alias checks · c31c7d48
    Thomas Gleixner 提交于
    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: NThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    c31c7d48
pageattr.c 20.6 KB