[PATCH] tmpfs 7/9 shmem_getpage flush_dcache

From: Hugh Dickins (hugh@veritas.com)
Date: Thu Oct 17 2002 - 18:59:16 EST


>From Matthew Wilcox <willy@debian.org>: shmem_getpage must
flush_dcache_page after allocating and clearing a new page.

--- tmpfs6/mm/shmem.c Thu Oct 17 22:01:39 2002
+++ tmpfs7/mm/shmem.c Thu Oct 17 22:01:49 2002
@@ -867,6 +867,7 @@
                 info->alloced++;
                 spin_unlock(&info->lock);
                 clear_highpage(page);
+ flush_dcache_page(page);
                 SetPageUptodate(page);
         }
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:38 EST