From mboxrd@z Thu Jan 1 00:00:00 1970 From: gilles.chanteperdrix@xenomai.org (Gilles Chanteperdrix) Date: Fri, 13 Nov 2009 16:15:05 +0100 Subject: [RFC 11/11] ARM: avoid flushing I-cache in flush_cache_mm() In-Reply-To: <20091113151258.GB27752@flint.arm.linux.org.uk> References: <4AFD74CA.3040507@xenomai.org> <20091113151258.GB27752@flint.arm.linux.org.uk> Message-ID: <4AFD77F9.9000204@xenomai.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Russell King wrote: > 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. Ok. I should have read the patch. Sorry for the noise. -- Gilles