linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bounce: call flush_dcache_page after bounce_copy_vec
@ 2010-09-07 20:45 Gary King
  2010-09-08 19:47 ` Andrew Morton
  2010-09-09  0:49 ` Bryan Wu
  0 siblings, 2 replies; 4+ messages in thread
From: Gary King @ 2010-09-07 20:45 UTC (permalink / raw)
  To: linux-arm-kernel

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

--

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-09  0:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-07 20:45 [PATCH] bounce: call flush_dcache_page after bounce_copy_vec Gary King
2010-09-08 19:47 ` Andrew Morton
2010-09-08 19:49   ` Jens Axboe
2010-09-09  0:49 ` Bryan Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).