summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-10-12 19:33:01 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-12 19:33:01 -0700
commit5bbac23e816b1927c5f78058454b3a51a0618153 (patch)
tree41f60bfbd48e1f8248d9f8767bee54761c950373 /include/linux
parent3a1bfe873e667b4d40d2f3a5b5cd53e91c2e67d4 (diff)
[PATCH] propagate pte reference into page reference during
zap_pte_range() is currently just dropping the pte. Change it to mark the page referenced if the pte says it was. This has the effect of delaying the eviction of recently-mapped pagecache. This means that we're currently marking the page accessed when it is first faulted in as well as when we drop it from pagetables. Which matches up with the (strange) behaviour of the VM: it reclaims PageReferenced pagecache pages off the inactive list. Probably, it makes sense to remove the mark_page_accessed() from filemap_nopage() and just use the pte bits everywhere. Reviewing all the PageReferenced()/mark_page_accessed() usage is on my todo list.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions