]> git.karo-electronics.de Git - karo-tx-linux.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)
commitf538881cc672c1b049aa0a34a792d0953fcecba5
treed9e928e7291930f0fab8ec5da8184dc1c7098553
parent7d19273cd0408f8520539d5d6b1f695cd311b109
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