From: Catalin Marinas Date: Thu, 6 Nov 2008 13:23:08 +0000 (+0000) Subject: Do not flush the cache in flush_cache_v(un)map for VIPT caches X-Git-Tag: v2.6.29-rc1~559^2~84^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=376e14218d3d791127e9b9bfbe2f99c44c2a19c2;p=pandora-kernel.git Do not flush the cache in flush_cache_v(un)map for VIPT caches In case of non-aliasing VIPT caches, there is no need to flush the whole cache when new mapping is created. The patch introduces this condition check. In the non-aliasing VIPT case flush_cache_vmap() needs a DSB since the set_pte_at() function called from vmap_pte_range() does not have such barrier (done usually via TLB flushing functions). Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed