lkml.org 
[lkml]   [2002]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] tmpfs 7/9 shmem_getpage flush_dcache
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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.058 / U:7.840 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site