lkml.org 
[lkml]   [2003]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] tmpfs 7/7 write mark_page_accessed
mm/filemap.c's generic_file_aio_write_nolock changed SetPageReferenced
to mark_page_accessed in -test3: now follow that in shmem_file_write.

--- tmpfs6/mm/shmem.c 2003-10-15 15:39:25.386196056 +0100
+++ tmpfs7/mm/shmem.c 2003-10-15 15:39:36.380524664 +0100
@@ -1243,8 +1243,7 @@

flush_dcache_page(page);
set_page_dirty(page);
- if (!PageReferenced(page))
- SetPageReferenced(page);
+ mark_page_accessed(page);
page_cache_release(page);

if (left) {
-
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:49    [W:0.078 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site