summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/mm.h
diff options
context:
space:
mode:
authorRussell King2009-10-25 15:31:40 +0100
committerRussell King2009-12-04 15:58:51 +0100
commitea201dbb78651c71c56e440b8b3132906bc7456d (patch)
tree53fa8679229960bb585766c5b49301dee834bcec /arch/arm/mm/mm.h
parentARM: I-cache: Add invalidation for VIVT ASID tagged caches (diff)
downloadkernel-qcow2-linux-ea201dbb78651c71c56e440b8b3132906bc7456d.tar.gz
kernel-qcow2-linux-ea201dbb78651c71c56e440b8b3132906bc7456d.tar.xz
kernel-qcow2-linux-ea201dbb78651c71c56e440b8b3132906bc7456d.zip
ARM: I-cache: avoid flushing in flush_cache_mm()
flush_cache_mm() is called in two cases: 1. when a process exits, just before the page tables are torn down. We can allow the stale lines to evict themselves over time without causing any harm. 2. when a process forks, and we've allocated a new ASID. The instruction cache issues are dealt with as pages are brought into the new process address space. Flushing the I-cache here is therefore unnecessary. However, we must keep the VIPT aliasing D-cache flush to ensure that any dirty cache lines are not written back after the pages have been reallocated for some other use - which would result in corruption. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/mm.h')
0 files changed, 0 insertions, 0 deletions