[PATCH] bounce: call flush_dcache_page after bounce_copy_vec
Gary King
gking at nvidia.com
Tue Sep 7 16:45:34 EDT 2010
I have been seeing problems on Tegra 2 (ARMv7 SMP) systems with HIGHMEM
enabled on 2.6.35 (plus some patches targetted at 2.6.36 to perform
cache maintenance lazily), and the root cause appears to be that the
mm bouncing code is calling flush_dcache_page before it copies the
bounce buffer into the bio.
The patch below reorders these two operations, and eliminates numerous
arbitrary application crashes on my dev system.
Gary
--
More information about the linux-arm-kernel
mailing list