]> 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)
commite910e94506cc2c1c86ebb0dbb17a01f4f208b399
treed9e928e7291930f0fab8ec5da8184dc1c7098553
parent5aa16055f5d70e7bc437cb9f74ee143e6d227ed3
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