Skip to content
Commit 06824ba8 authored by Russell King's avatar Russell King
Browse files

ARM: tlb: delay page freeing for SMP and ARMv7 CPUs



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>
parent a9ad21fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment