[RFC 11/11] ARM: avoid flushing I-cache in flush_cache_mm()
Russell King
rmk at arm.linux.org.uk
Fri Nov 13 10:12:58 EST 2009
On Fri, Nov 13, 2009 at 04:01:30PM +0100, Gilles Chanteperdrix wrote:
> Russell King wrote:
> > 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.
>
> Is not there any risk to see cache lines evicted at a time when there
> are no longer any page table entries for them? This was said to be a
> problem during the early discussions on FCSE:
The discussion here is about the instruction cache - that doesn't write
back cache lines.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
More information about the linux-arm-kernel
mailing list