]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Ensure all PG_dcache_dirty pages are written back.
authorMarkus Pietrek <Markus.Pietrek@emtrion.de>
Thu, 24 Dec 2009 06:12:02 +0000 (15:12 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 24 Dec 2009 06:12:02 +0000 (15:12 +0900)
commit86e32b6529a8f234b5c4d200e20931b6bcbe6f98
tree98a672c96d10f1426eb6d3bc4c525e34a974627c
parent576be7f07bc7a819afea3754355d0d699126d35e
sh: Ensure all PG_dcache_dirty pages are written back.

With some of the cache rework an address aliasing optimization was added,
but this managed to fail on certain mappings resulting in pages with
PG_dcache_dirty set never writing back their dcache lines. This patch
reverts to the earlier behaviour of simply always writing back when the
dirty bit is set.

Signed-off-by: Markus Pietrek <Markus.Pietrek@emtrion.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache.c