[PATCH] tmpfs 7/9 shmem_getpage flush_dcache

Hugh Dickins (hugh@veritas.com)
Fri, 18 Oct 2002 00:59:16 +0100 (BST)


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/