linux-mips
[Top] [All Lists]

Re: flush_kernel_dcache_page() not needed ?

To: vagabon.xyz@gmail.com
Subject: Re: flush_kernel_dcache_page() not needed ?
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Fri, 14 Sep 2007 23:29:15 +0900 (JST)
Cc: linux-mips@linux-mips.org
In-reply-to: <46EA4730.2070806@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <46DD53BE.2070004@gmail.com> <20070906.003320.25909195.anemo@mba.ocn.ne.jp> <46EA4730.2070806@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Fri, 14 Sep 2007 10:32:48 +0200, Franck Bui-Huu <vagabon.xyz@gmail.com> 
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.

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>