On Sun, 2006-03-19 at 15:04 -0600, James Bottomley wrote:
> OK, I confess to not ever having looked at that ... does it use
> get_user_pages() as well?
If the fix is to be in get_user_pages(), this is what works for parisc.
James
Index: mm/memory.c
===================================================================
RCS file: /var/cvs/linux-2.6/mm/memory.c,v
retrieving revision 1.46
diff -u -p -r1.46 memory.c
--- mm/memory.c 18 Feb 2006 05:40:32 -0000 1.46
+++ mm/memory.c 19 Mar 2006 21:23:19 -0000
@@ -1073,6 +1073,8 @@ int get_user_pages(struct task_struct *t
}
if (pages) {
pages[i] = page;
+ if (PageAnon(page))
+ flush_cache_page(vma, start,
page_to_pfn(page));
flush_dcache_page(page);
}
if (vmas)
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html