]> git.hungrycats.org Git - linux/commit
[PATCH] tmpfs 4/6: use mark_page_accessed
authorAndrew Morton <akpm@digeo.com>
Thu, 3 Apr 2003 00:27:19 +0000 (16:27 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 3 Apr 2003 00:27:19 +0000 (16:27 -0800)
commit5d86cc8b7e76f3dc67a84c7ded3d69771c917065
tree971f1fa0e76387dcac2cf8db0c9506d6c4c5610a
parentf56453c9f0791f63626519d1bec4f47ea69bb8b8
[PATCH] tmpfs 4/6: use mark_page_accessed

From: Hugh Dickins <hugh@veritas.com>

tmpfs pages should be surfing the LRUs in the company of their filemap
friends: I was expecting the rules to change, but they've been stable so
long, let's sprinkle mark_page_accessed in the equivalent places here; but
(don't ask me why) SetPageReferenced in shmem_file_write.  Ooh, and
shmem_populate was missing a flush_page_to_ram.
mm/shmem.c