Re: [PATCH] video: arch specific page protection support for deferred io
From: Paul Mundt <hidden>
Date: 2009-06-25 18:50:20
Also in:
linux-mm
On Fri, Jun 26, 2009 at 02:36:23AM +0800, Jaya Kumar wrote:
On Fri, Jun 26, 2009 at 2:12 AM, Andrew Morton[off-list ref] wrote:quoted
On Fri, 26 Jun 2009 02:38:06 +0900 Paul Mundt [off-list ref] wrote:quoted
On Thu, Jun 25, 2009 at 12:03:59AM -0700, Andrew Morton wrote:quoted
On Thu, 25 Jun 2009 15:06:24 +0900 Magnus Damm [off-list ref] wrote:quoted
There are 3 levels of dependencies: 1: pgprot_noncached() patches from Arnd 2: mm: uncached vma support with writenotify 3: video: arch specfic page protection support for deferred io 2 depends on 1 to compile, but 3 (this one) is disconnected from 2 and 1. So this patch can be merged independently.<hunts around and finds #2> I don't really understand that one. ?Have we heard fro Jaya recently?He's been having some personal problems so he's been quiet. :-) Magnus's defio changes, #3 look fine to me. I don't know much about #2 but what I understood was that the previous mmap_region code was unintentionally turning caching back on when it did the writenotify test and I guess Magnus's goal with the patch is to make sure that address range is left uncached since sh_mobile uses DMA to transfer the framebuffer and he might have encountered coherency issues there?
Correct. This could have been documented a bit better, but yes, the issue is that when the writenotify test kicks in the vma silently loses its uncachedness which leads to the aforementioned runtime behaviour issues. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>