• Russell King's avatar
    ARM: tlb: delay page freeing for SMP and ARMv7 CPUs · 06824ba8
    Russell King authored
    We need to delay freeing any mapped page on SMP and ARMv7 systems to
    ensure that the data is not accessed by other CPUs, or is used for
    speculative prefetch with ARMv7.  This includes not only mapped pages
    but also pages used for the page tables themselves.
    
    This avoids races with the MMU/other CPUs accessing pages after they've
    been freed but before we've invalidated the TLB.
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    06824ba8
tlb.h 4.7 KB