]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: [mm] Prevent stray dcache lines after__sync_icache_dcach()
authorVineet Gupta <vgupta@synopsys.com>
Thu, 16 May 2013 06:49:29 +0000 (12:19 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 23 May 2013 04:56:33 +0000 (10:26 +0530)
commit416489ab62387c1b9236af6e5b9afe617c71d754
treed9e928e7291930f0fab8ec5da8184dc1c7098553
parent97859ed96a1a13a0313f789235178f8f282526e8
ARC: [mm] Prevent stray dcache lines after__sync_icache_dcach()

Flush and INVALIDATE the dcache page.

This helper is only used for writeback of CODE pages to memory. So
there's no value in keeping the dcache lines around. Infact it is risky
as a writeback on natural eviction under pressure can cause un-needed
writeback with weird issues on aliasing dcache configurations.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/cache_arc700.c