Atsushi Nemoto wrote: > On Fri, 14 Sep 2007 10:32:48 +0200, Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> wrote: >> BTW, flush_cache_mm() flushes (write back + invalidate ) the whole >> data cache unconditionnaly, but I'm wondering if it's really necessary >> for cpus which don't have any cache aliasing issues. After all they're >> equivalent to physical caches, aren't they ? > > r4k_flush_cache_mm() returns immediately if !cpu_has_dc_aliases. > oops you're right, I was actually looking at local_r4k_flush_cache_mm(). thanks, Franck